diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-06 17:57:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-06 17:57:30 +0200 |
commit | 85eee130f44a2201d88ca2aeff0af3b11dd75fa9 (patch) | |
tree | 1748e216e4f90786b1a0789a054568976da40c42 /runtime/ftplugin/man.vim | |
parent | 7ce551f317a0bb92f8c0521e96325301e2d220ca (diff) | |
download | vim-85eee130f44a2201d88ca2aeff0af3b11dd75fa9.zip |
Update runtime files.
Diffstat (limited to 'runtime/ftplugin/man.vim')
-rw-r--r-- | runtime/ftplugin/man.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 9e9715693..ea3f9ac6c 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: man " Maintainer: SungHyun Nam <goweol@gmail.com> -" Last Change: 2018 Jan 15 +" Last Change: 2018 May 2 " To make the ":Man" command available before editing a manual page, source " this script from your startup vimrc file. @@ -164,7 +164,7 @@ func <SID>GetPage(...) setl buftype=nofile noswapfile setl ma nonu nornu nofen - silent exec "norm 1GdG" + silent exec "norm! 1GdG" let unsetwidth = 0 if empty($MANWIDTH) let $MANWIDTH = winwidth(0) @@ -188,10 +188,10 @@ func <SID>GetPage(...) endif " Remove blank lines from top and bottom. while getline(1) =~ '^\s*$' - silent keepj norm ggdd + silent keepj norm! ggdd endwhile while getline('$') =~ '^\s*$' - silent keepj norm Gdd + silent keepj norm! Gdd endwhile 1 setl ft=man nomod @@ -208,7 +208,7 @@ func <SID>PopPage() exec "let s:man_tag_col=s:man_tag_col_".s:man_tag_depth exec s:man_tag_buf."b" exec s:man_tag_lin - exec "norm ".s:man_tag_col."|" + exec "norm! ".s:man_tag_col."|" exec "unlet s:man_tag_buf_".s:man_tag_depth exec "unlet s:man_tag_lin_".s:man_tag_depth exec "unlet s:man_tag_col_".s:man_tag_depth |