1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Update nvim and nvim-qt config

This commit is contained in:
jdhao 2019-09-25 22:27:27 +08:00
parent 424337f9ae
commit 08c5c49f18
3 changed files with 17 additions and 10 deletions

View File

@ -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

View File

@ -23,7 +23,6 @@
" built over time and take your time to polish.
" Author: Jie-dong Hao
" Email: jdhao@hotmail.com
" Update: 2019-09-17 17:35:03+0800
"}}
"{{ License: MIT License
@ -592,6 +591,7 @@ Plug 'ajmwagar/vim-deus'
" colorful status line and theme
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'mhinz/vim-startify'
"}}
"{{ Plugin to deal with URL
@ -1427,4 +1427,4 @@ endif
" - https://blog.carbonfive.com/2011/10/17/vim-text-objects-the-definitive-guide/
" - https://sanctum.geek.nz/arabesque/vim-anti-patterns/
" - https://github.com/gkapfham/dotfiles/blob/master/.vimrc
"}
"}

View File

@ -54,3 +54,10 @@ vimtex
workflow
regex
blog
MacOS
Pynvim
vim
Ripgrep
grep
homebrew
Neomake