vim:keys: Add gm to open a manpage

Open the manpage in the WORD under the cursor.
This commit is contained in:
2022-04-09 15:45:19 +02:00
parent 5c51bd87c4
commit 2def35d0e7

View File

@@ -177,3 +177,7 @@ inoremap ( ()<C-G>U<Left>
" revertible in smaller chunks " revertible in smaller chunks
inoremap <Space> <C-G>u<Space> inoremap <Space> <C-G>u<Space>
inoremap <CR> <C-G>u<CR> inoremap <CR> <C-G>u<CR>
" Open the manpage in the WORD under cursor
nnoremap gm :Man <C-r><C-a><CR>
xnoremap gm :Man <C-r><C-a><CR>