comparison runtime/ftplugin/man.vim @ 39:c16898406ff2

synchorinize version 7.3.081
author one@zeus.cr.ie.u-ryukyu.ac.jp
date Fri, 17 Dec 2010 17:43:06 +0900
parents e170173ecb68
children 67300faee616
comparison
equal deleted inserted replaced
38:e06a1cd7230d 39:c16898406ff2
1 " Vim filetype plugin file 1 " Vim filetype plugin file
2 " Language: man 2 " Language: man
3 " Maintainer: Nam SungHyun <namsh@kldp.org> 3 " Maintainer: SungHyun Nam <goweol@gmail.com>
4 " Last Change: 2007 Nov 30 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.