diff options
author | Yigit Sever | 2020-04-07 18:36:18 +0300 |
---|---|---|
committer | Yigit Sever | 2020-04-07 18:36:18 +0300 |
commit | b15437514ed4ab9531a5261982a06f7f5201f7f9 (patch) | |
tree | 8f2bec65749581d060ae8c4932a0f6bddbb7985d | |
parent | b4c2f14d3fc9bae8f45ec8ee3f059c9842cc70b9 (diff) | |
download | dotfiles-b15437514ed4ab9531a5261982a06f7f5201f7f9.tar.gz dotfiles-b15437514ed4ab9531a5261982a06f7f5201f7f9.tar.bz2 dotfiles-b15437514ed4ab9531a5261982a06f7f5201f7f9.zip |
vimrc changes
-rwxr-xr-x | .config/nvim/init.vim | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index fb68190..c4eb3b4 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -55,7 +55,7 @@ Plug 'machakann/vim-sandwich' | |||
55 | Plug 'wellle/targets.vim' | 55 | Plug 'wellle/targets.vim' |
56 | " indentation level text object | 56 | " indentation level text object |
57 | Plug 'michaeljsmith/vim-indent-object' | 57 | Plug 'michaeljsmith/vim-indent-object' |
58 | " visual feedback for substitute | 58 | " visual feedback for substitute holy shit this is amazing |
59 | Plug 'markonm/traces.vim' | 59 | Plug 'markonm/traces.vim' |
60 | " insert mode completions from tmux panes | 60 | " insert mode completions from tmux panes |
61 | Plug 'wellle/tmux-complete.vim' | 61 | Plug 'wellle/tmux-complete.vim' |
@@ -65,6 +65,8 @@ Plug 'junegunn/vim-peekaboo' | |||
65 | Plug 'lfv89/vim-interestingwords' | 65 | Plug 'lfv89/vim-interestingwords' |
66 | " swap delimited items | 66 | " swap delimited items |
67 | Plug 'machakann/vim-swap' | 67 | Plug 'machakann/vim-swap' |
68 | " highliht occurances of word | ||
69 | Plug 'lfv89/vim-interestingwords' | ||
68 | 70 | ||
69 | " reopen files at your last edit position | 71 | " reopen files at your last edit position |
70 | Plug 'farmergreg/vim-lastplace' | 72 | Plug 'farmergreg/vim-lastplace' |
@@ -182,7 +184,7 @@ if executable('rg') | |||
182 | set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case | 184 | set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case |
183 | endif | 185 | endif |
184 | 186 | ||
185 | set diffopt+=internal,algorithm:patience | 187 | set diffopt=algorithm:patience |
186 | 188 | ||
187 | " }}} | 189 | " }}} |
188 | 190 | ||
@@ -230,8 +232,8 @@ nnoremap <C-l> <C-w>l | |||
230 | 232 | ||
231 | " Disable highlight when <leader><cr> is pressed | 233 | " Disable highlight when <leader><cr> is pressed |
232 | nnoremap <silent> <Leader><cr> :noh<cr> | 234 | nnoremap <silent> <Leader><cr> :noh<cr> |
233 | " Space will toggle folds! | 235 | " Space used to toggle folds, now it's x (because x is d) |
234 | nnoremap <space> za | 236 | nnoremap <space> "_x |
235 | 237 | ||
236 | " checkmarks on vimwiki | 238 | " checkmarks on vimwiki |
237 | nmap <Leader>v <Plug>VimwikiToggleListItem | 239 | nmap <Leader>v <Plug>VimwikiToggleListItem |