aboutsummaryrefslogtreecommitdiff
path: root/ginit.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2019-09-25 22:27:27 +0800
committerjdhao <jdhao@hotmail.com>2019-09-25 22:27:27 +0800
commit08c5c49f181fbadf4a2f518155819a916e351a1a (patch)
tree9d166989217dce2ee23d9cb7705cfb796f6ed274 /ginit.vim
parent424337f9aedc2dadfcaa3910f011d9c80215d49b (diff)
Update nvim and nvim-qt config
Diffstat (limited to 'ginit.vim')
-rw-r--r--ginit.vim16
1 files changed, 8 insertions, 8 deletions
diff --git a/ginit.vim b/ginit.vim
index 3481a50..23f69bc 100644
--- a/ginit.vim
+++ b/ginit.vim
@@ -1,18 +1,18 @@
-" to check if neovim-qt is running, use `exists('g:GuiLoaded')`,
+" To check if neovim-qt is running, use `exists('g:GuiLoaded')`,
" see https://github.com/equalsraf/neovim-qt/issues/219
if exists('g:GuiLoaded')
" call GuiWindowMaximized(1)
- GuiPopupmenu 0
GuiTabline 0
- GuiLinespace 3
+ GuiPopupmenu 0
+ GuiLinespace 2
GuiFont! Hack:h10:l
" GuiFont! Microsoft\ YaHei\ Mono:h10:l
- " use shift+insert for paste in neovim-qt
+ " Use shift+insert for paste inside 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>+
+ inoremap <silent> <S-Insert> <C-R>+
+ cnoremap <silent> <S-Insert> <C-R>+
" For Windows, Ctrl-6 does not work. So we use this mapping instead.
- nmap <C-6> <C-^>
-endif
+ nnoremap <silent> <C-6> <C-^>
+endif \ No newline at end of file