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:
parent
424337f9ae
commit
08c5c49f18
16
ginit.vim
16
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
|
" see https://github.com/equalsraf/neovim-qt/issues/219
|
||||||
if exists('g:GuiLoaded')
|
if exists('g:GuiLoaded')
|
||||||
" call GuiWindowMaximized(1)
|
" call GuiWindowMaximized(1)
|
||||||
GuiPopupmenu 0
|
|
||||||
GuiTabline 0
|
GuiTabline 0
|
||||||
GuiLinespace 3
|
GuiPopupmenu 0
|
||||||
|
GuiLinespace 2
|
||||||
GuiFont! Hack:h10:l
|
GuiFont! Hack:h10:l
|
||||||
" GuiFont! Microsoft\ YaHei\ Mono: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
|
" see https://github.com/equalsraf/neovim-qt/issues/327#issuecomment-325660764
|
||||||
imap <silent> <S-Insert> <C-R>+
|
inoremap <silent> <S-Insert> <C-R>+
|
||||||
cmap <silent> <S-Insert> <C-R>+
|
cnoremap <silent> <S-Insert> <C-R>+
|
||||||
|
|
||||||
" For Windows, Ctrl-6 does not work. So we use this mapping instead.
|
" For Windows, Ctrl-6 does not work. So we use this mapping instead.
|
||||||
nmap <C-6> <C-^>
|
nnoremap <silent> <C-6> <C-^>
|
||||||
endif
|
endif
|
||||||
4
init.vim
4
init.vim
@ -23,7 +23,6 @@
|
|||||||
" built over time and take your time to polish.
|
" built over time and take your time to polish.
|
||||||
" Author: Jie-dong Hao
|
" Author: Jie-dong Hao
|
||||||
" Email: jdhao@hotmail.com
|
" Email: jdhao@hotmail.com
|
||||||
" Update: 2019-09-17 17:35:03+0800
|
|
||||||
"}}
|
"}}
|
||||||
|
|
||||||
"{{ License: MIT License
|
"{{ License: MIT License
|
||||||
@ -592,6 +591,7 @@ Plug 'ajmwagar/vim-deus'
|
|||||||
" colorful status line and theme
|
" colorful status line and theme
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
Plug 'mhinz/vim-startify'
|
||||||
"}}
|
"}}
|
||||||
|
|
||||||
"{{ Plugin to deal with URL
|
"{{ Plugin to deal with URL
|
||||||
@ -1427,4 +1427,4 @@ endif
|
|||||||
" - https://blog.carbonfive.com/2011/10/17/vim-text-objects-the-definitive-guide/
|
" - https://blog.carbonfive.com/2011/10/17/vim-text-objects-the-definitive-guide/
|
||||||
" - https://sanctum.geek.nz/arabesque/vim-anti-patterns/
|
" - https://sanctum.geek.nz/arabesque/vim-anti-patterns/
|
||||||
" - https://github.com/gkapfham/dotfiles/blob/master/.vimrc
|
" - https://github.com/gkapfham/dotfiles/blob/master/.vimrc
|
||||||
"}
|
"}
|
||||||
|
|||||||
@ -54,3 +54,10 @@ vimtex
|
|||||||
workflow
|
workflow
|
||||||
regex
|
regex
|
||||||
blog
|
blog
|
||||||
|
MacOS
|
||||||
|
Pynvim
|
||||||
|
vim
|
||||||
|
Ripgrep
|
||||||
|
grep
|
||||||
|
homebrew
|
||||||
|
Neomake
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user