aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorAnmol Sethi <nhooyr@users.noreply.github.com>2016-09-03 21:53:58 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-09-04 03:53:58 +0200
commit9bba8ba372298d7cfac543085df6546e18d2c256 (patch)
tree6e5237bc0eb1f444f1016873a212c2e078e8038d /runtime/ftplugin
parent626065d385c4f7a06d2aa3dedf2fbb8fa68bfb48 (diff)
downloadrneovim-9bba8ba372298d7cfac543085df6546e18d2c256.tar.gz
rneovim-9bba8ba372298d7cfac543085df6546e18d2c256.tar.bz2
rneovim-9bba8ba372298d7cfac543085df6546e18d2c256.zip
[RFC] man.vim: remove <Plug> mappings (#5290)
- :Man with no arguments opens the manapage for the <cWORD> (man buffers) or <cword> (non-man buffers). - remove now irrelevent comment about -P flag
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/man.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index 08a88e6b90..02d2b4e557 100644
--- a/runtime/ftplugin/man.vim
+++ b/runtime/ftplugin/man.vim
@@ -43,8 +43,8 @@ setlocal nolist
setlocal nofoldenable
if !exists('g:no_plugin_maps') && !exists('g:no_man_maps')
- nmap <silent> <buffer> <C-]> <Plug>(man)
- nmap <silent> <buffer> K <Plug>(man)
+ nmap <silent> <buffer> <C-]> :Man<CR>
+ nmap <silent> <buffer> K :Man<CR>
nnoremap <silent> <buffer> <C-T> :call man#pop_tag()<CR>
if s:pager
nnoremap <silent> <buffer> <nowait> q :q<CR>