nvim: add GUI config
mouse, context menu
This commit is contained in:
parent
c4dd5424f4
commit
239579c979
6
.config/nvim/ginit.vim
Normal file
6
.config/nvim/ginit.vim
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
set mouse=a
|
||||||
|
|
||||||
|
nnoremap <silent><RightMouse> :call GuiShowContextMenu()<CR>
|
||||||
|
inoremap <silent><RightMouse> <Esc>:call GuiShowContextMenu()<CR>
|
||||||
|
xnoremap <silent><RightMouse> :call GuiShowContextMenu()<CR>gv
|
||||||
|
snoremap <silent><RightMouse> <C-G>:call GuiShowContextMenu()<CR>gv
|
Loading…
Reference in New Issue
Block a user