Mercurial > vim
comparison runtime/ftplugin/man.vim @ 10548:74effdaa369e
Updated runtime files.
commit https://github.com/vim/vim/commit/68563937f58ea2dc31b58739336c383d2fd7e6cf
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 10 13:31:15 2017 +0100
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Jan 2017 13:45:05 +0100 |
parents | cd9c4bbe1d03 |
children | 523cd59d6db0 |
comparison
equal
deleted
inserted
replaced
10547:b1438ad6d6e8 | 10548:74effdaa369e |
---|---|
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: 2016 Jun 20 | 4 " Last Change: 2017 Jan 04 |
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". |
45 endif | 45 endif |
46 | 46 |
47 if exists(":Man") != 2 | 47 if exists(":Man") != 2 |
48 com -nargs=+ Man call s:GetPage(<f-args>) | 48 com -nargs=+ Man call s:GetPage(<f-args>) |
49 nmap <Leader>K :call <SID>PreGetPage(0)<CR> | 49 nmap <Leader>K :call <SID>PreGetPage(0)<CR> |
50 nmap <Plug>ManPreGetPage :call <SID>PreGetPage(0)<CR> | |
50 endif | 51 endif |
51 | 52 |
52 " Define functions only once. | 53 " Define functions only once. |
53 if !exists("s:man_tag_depth") | 54 if !exists("s:man_tag_depth") |
54 | 55 |