Files
neovim/runtime/plugin/man.vim
Justin M. Keyes 4fb75d61c2 man.vim: convert ftplugin to actual plugin.
- do not create leader maps
- :norm! instead of :norm
- :keepjumps during layout
- use blackhole reg to avoid polluting unnamed reg
- format buffer name as "man://foo(2)"
- simulate behavior of `man`
    - buffer-local mapping of q to quit
    - open in new tab instead of new window
    - set 'nolist'
    - set tabstop=8
2015-09-23 00:05:33 -04:00

7 lines
115 B
VimL

if get(g:, 'loaded_man', 0)
finish
endif
let g:loaded_man = 1
command! -nargs=+ Man call man#get_page(<f-args>)