diff options
Diffstat (limited to 'ginit.vim')
| -rw-r--r-- | ginit.vim | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ginit.vim b/ginit.vim new file mode 100644 index 0000000..ddf7fd1 --- /dev/null +++ b/ginit.vim @@ -0,0 +1,17 @@ +" call GuiWindowMaximized(1) +GuiPopupmenu 0 +GuiTabline 0 +GuiLinespace 1 +GuiFont! Hack:h10:l + +" to check if gui is running, use `exists('g:GuiLoaded')`, +" see https://github.com/equalsraf/neovim-qt/issues/219 +if exists('g:GuiLoaded') + " use shift+insert for paste in neovim-qt + " see https://github.com/equalsraf/neovim-qt/issues/327#issuecomment-325660764 + imap <silent> <S-Insert> <C-R>+ + cmap <silent> <S-Insert> <C-R>+ + + " For Windows, Ctrl-6 does not work. So we use this mapping instead. + nmap <C-6> <C-^> +endif |
