Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. " This plugin, included with later versions of Vim, allows for the viewing of
  2. " man pages within a split window. See ":h find-manpage" for more
  3. " information.
  4. runtime! ftplugin/man.vim
  5.  
  6. " The above command will fail silently if "man.vim" cannot be found. If, on
  7. " the other hand, sourcing "man.vim" was successful, we can detect this and
  8. " improve the behavior of the plugin.
  9. if exists(':Man') == 2
  10. nmap <silent> K <Leader>K
  11. augroup ManFileTypeSettings
  12. autocmd!
  13. autocmd FileType man nmap <buffer> <silent> q :bwipeout<CR>
  14. augroup END
  15. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement