summaryrefslogtreecommitdiff
path: root/runtime/ftplugin/man.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/man.vim')
-rw-r--r--runtime/ftplugin/man.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index eef0628a0..3fb22a10d 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: 2008 Sep 17
+" Last Change: 2010 Nov 29
" To make the ":Man" command available before editing a manual page, source
" this script from your startup vimrc file.
@@ -15,6 +15,10 @@ if &filetype == "man"
endif
let b:did_ftplugin = 1
+ " Ensure Vim is not recursively invoked (man-db does this)
+ " when doing ctrl-[ on a man page reference.
+ let $MANPAGER = ""
+
" allow dot and dash in manual page name.
setlocal iskeyword+=\.,-