aboutsummaryrefslogtreecommitdiff
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
parent424337f9aedc2dadfcaa3910f011d9c80215d49b (diff)
Update nvim and nvim-qt config
-rw-r--r--ginit.vim16
-rw-r--r--init.vim4
-rw-r--r--spell/en.utf-8.add7
3 files changed, 17 insertions, 10 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
diff --git a/init.vim b/init.vim
index bd573b2..42e1ba9 100644
--- a/init.vim
+++ b/init.vim
@@ -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
-"} \ No newline at end of file
+"}
diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add
index 9dd5f5a..9ed8008 100644
--- a/spell/en.utf-8.add
+++ b/spell/en.utf-8.add
@@ -54,3 +54,10 @@ vimtex
workflow
regex
blog
+MacOS
+Pynvim
+vim
+Ripgrep
+grep
+homebrew
+Neomake