summaryrefslogtreecommitdiff
path: root/runtime/ftplugin/man.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-28 21:08:56 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-28 21:08:56 +0000
commitd2cec5b043361ee798a0522244135f4ea87838f6 (patch)
tree3ad43aed8a8c373f85a2a3adf286b045c14f6cfe /runtime/ftplugin/man.vim
parent607a95ed81973faab2e1c3d9c91822082694fdc3 (diff)
downloadvim-d2cec5b043361ee798a0522244135f4ea87838f6.zip
updated for version 7.0c02
Diffstat (limited to 'runtime/ftplugin/man.vim')
-rw-r--r--runtime/ftplugin/man.vim8
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"