mirror of
https://github.com/neovim/neovim.git
synced 2026-03-06 17:17:21 +00:00
man.vim: Add double click mapping.
This commit is contained in:
@@ -28,9 +28,10 @@ setlocal foldcolumn=0 colorcolumn=0 nolist nofoldenable
|
||||
setlocal tagfunc=man#goto_tag
|
||||
|
||||
if !exists('g:no_plugin_maps') && !exists('g:no_man_maps')
|
||||
nnoremap <silent> <buffer> j gj
|
||||
nnoremap <silent> <buffer> k gk
|
||||
nnoremap <silent> <buffer> gO :call man#show_toc()<CR>
|
||||
nnoremap <silent> <buffer> j gj
|
||||
nnoremap <silent> <buffer> k gk
|
||||
nnoremap <silent> <buffer> gO :call man#show_toc()<CR>
|
||||
nnoremap <silent> <buffer> <2-LeftMouse> :Man<CR>
|
||||
if s:pager
|
||||
nnoremap <silent> <buffer> <nowait> q :lclose<CR>:q<CR>
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user