comparison 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
comparison
equal deleted inserted replaced
2661:a03f7551bacc 2662:916c90b37ea9
1 " Vim filetype plugin file 1 " Vim filetype plugin file
2 " Language: man 2 " Language: man
3 " Maintainer: SungHyun Nam <goweol@gmail.com> 3 " Maintainer: SungHyun Nam <goweol@gmail.com>
4 " Last Change: 2008 Sep 17 4 " Last Change: 2010 Nov 29
5 5
6 " To make the ":Man" command available before editing a manual page, source 6 " To make the ":Man" command available before editing a manual page, source
7 " this script from your startup vimrc file. 7 " this script from your startup vimrc file.
8 8
9 " If 'filetype' isn't "man", we must have been called to only define ":Man". 9 " If 'filetype' isn't "man", we must have been called to only define ":Man".
12 " Only do this when not done yet for this buffer 12 " Only do this when not done yet for this buffer
13 if exists("b:did_ftplugin") 13 if exists("b:did_ftplugin")
14 finish 14 finish
15 endif 15 endif
16 let b:did_ftplugin = 1 16 let b:did_ftplugin = 1
17
18 " Ensure Vim is not recursively invoked (man-db does this)
19 " when doing ctrl-[ on a man page reference.
20 let $MANPAGER = ""
17 21
18 " allow dot and dash in manual page name. 22 " allow dot and dash in manual page name.
19 setlocal iskeyword+=\.,- 23 setlocal iskeyword+=\.,-
20 24
21 " Add mappings, unless the user didn't want this. 25 " Add mappings, unless the user didn't want this.