aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorAnmol Sethi <anmol@aubble.com>2016-08-07 23:17:56 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-08-13 08:58:21 -0400
commit79ef4b72d7cadb094aec35ec26dce2e8bfcda417 (patch)
tree525cedf2317f53706b4005eed80e92e0fc8ae2cd /runtime/ftplugin
parentc10fe010f1655b1c02c0fa38ea3d969b86a72bcd (diff)
downloadrneovim-79ef4b72d7cadb094aec35ec26dce2e8bfcda417.tar.gz
rneovim-79ef4b72d7cadb094aec35ec26dce2e8bfcda417.tar.bz2
rneovim-79ef4b72d7cadb094aec35ec26dce2e8bfcda417.zip
man.vim: doc fixes #5171
- Weird tab+space combination used for alignment. All spaces now - Added back <C-T> mapping (somehow we missed that completely) - Fixed mistake that <Plug>(Man) opens in a new tab. Also added note at top on how the window is chosen/opened. - Clarified q local mapping - Removed section that shows an example autocmd to add desired folding style. - Removed random line in `usr_12.txt` about `<Leader>` and backslash. - :Man supports completion, not auto-completion. Closes #5171
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/man.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index 614e1cb161..79aecb123d 100644
--- a/runtime/ftplugin/man.vim
+++ b/runtime/ftplugin/man.vim
@@ -41,8 +41,9 @@ 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-]> <Plug>(Man)
+ nmap <silent> <buffer> K <Plug>(Man)
+ nnoremap <silent> <buffer> <C-T> :call man#pop_tag()<CR>
if s:pager
nnoremap <silent> <buffer> <nowait> q :q<CR>
else