updated for version 7.0c02
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index 869ae9a..04964a5 100644
--- a/runtime/ftplugin/man.vim
+++ b/runtime/ftplugin/man.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: man
" Maintainer: Nam SungHyun <namsh@kldp.org>
-" Last Change: 2003 Dec 24
+" Last Change: 2006 Mar 28
" To make the ":Man" command available before editing a manual page, source
" this script from your startup vimrc file.
@@ -23,7 +23,7 @@
if !hasmapto('<Plug>ManBS')
nmap <buffer> <LocalLeader>h <Plug>ManBS
endif
- nnoremap <buffer> <Plug>ManBS :%s/.\b//g<CR>:set nomod<CR>''
+ nnoremap <buffer> <Plug>ManBS :%s/.\b//g<CR>:setl nomod<CR>''
nnoremap <buffer> <c-]> :call <SID>PreGetPage(v:count)<CR>
nnoremap <buffer> <c-t> :call <SID>PopPage()<CR>
@@ -137,9 +137,9 @@
endif
silent exec "edit $HOME/".page.".".sect."~"
" Avoid warning for editing the dummy file twice
- set buftype=nofile noswapfile
+ setl buftype=nofile noswapfile
- set ma
+ setl ma
silent exec "norm 1GdG"
let $MANWIDTH = winwidth(0)
silent exec "r!/usr/bin/man ".s:GetCmdArg(sect, page)." | col -b"