diff runtime/ftplugin/man.vim @ 2662:916c90b37ea9

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Fri, 10 Dec 2010 20:35:50 +0100
parents 7bc41231fbc7
children 3502a7f991fc
line wrap: on
line diff
--- 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+=\.,-