Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " This plugin, included with later versions of Vim, allows for the viewing of
- " man pages within a split window. See ":h find-manpage" for more
- " information.
- runtime! ftplugin/man.vim
- " The above command will fail silently if "man.vim" cannot be found. If, on
- " the other hand, sourcing "man.vim" was successful, we can detect this and
- " improve the behavior of the plugin.
- if exists(':Man') == 2
- nmap <silent> K <Leader>K
- augroup ManFileTypeSettings
- autocmd!
- autocmd FileType man nmap <buffer> <silent> q :bwipeout<CR>
- augroup END
- endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement