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.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index 242a7712c..eadabf883 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: 2011 Jul 25
+" Last Change: 2012 Mar 6
" To make the ":Man" command available before editing a manual page, source
" this script from your startup vimrc file.
@@ -35,6 +35,8 @@ if &filetype == "man"
nnoremap <buffer> <c-t> :call <SID>PopPage()<CR>
endif
+ let b:undo_ftplugin = "setlocal iskeyword<"
+
endif
if exists(":Man") != 2