diff options
Diffstat (limited to 'runtime/ftplugin/man.vim')
-rw-r--r-- | runtime/ftplugin/man.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 869ae9ab7..04964a549 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 &filetype == "man" 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 @@ func <SID>GetPage(...) 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" |