summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2020-04-07 18:36:18 +0300
committerYigit Sever2020-04-07 18:36:18 +0300
commitb15437514ed4ab9531a5261982a06f7f5201f7f9 (patch)
tree8f2bec65749581d060ae8c4932a0f6bddbb7985d
parentb4c2f14d3fc9bae8f45ec8ee3f059c9842cc70b9 (diff)
downloaddotfiles-b15437514ed4ab9531a5261982a06f7f5201f7f9.tar.gz
dotfiles-b15437514ed4ab9531a5261982a06f7f5201f7f9.tar.bz2
dotfiles-b15437514ed4ab9531a5261982a06f7f5201f7f9.zip
vimrc changes
-rwxr-xr-x.config/nvim/init.vim10
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'
55Plug 'wellle/targets.vim' 55Plug 'wellle/targets.vim'
56" indentation level text object 56" indentation level text object
57Plug 'michaeljsmith/vim-indent-object' 57Plug 'michaeljsmith/vim-indent-object'
58" visual feedback for substitute 58" visual feedback for substitute holy shit this is amazing
59Plug 'markonm/traces.vim' 59Plug 'markonm/traces.vim'
60" insert mode completions from tmux panes 60" insert mode completions from tmux panes
61Plug 'wellle/tmux-complete.vim' 61Plug 'wellle/tmux-complete.vim'
@@ -65,6 +65,8 @@ Plug 'junegunn/vim-peekaboo'
65Plug 'lfv89/vim-interestingwords' 65Plug 'lfv89/vim-interestingwords'
66" swap delimited items 66" swap delimited items
67Plug 'machakann/vim-swap' 67Plug 'machakann/vim-swap'
68" highliht occurances of word
69Plug 'lfv89/vim-interestingwords'
68 70
69" reopen files at your last edit position 71" reopen files at your last edit position
70Plug 'farmergreg/vim-lastplace' 72Plug '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
183endif 185endif
184 186
185set diffopt+=internal,algorithm:patience 187set 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
232nnoremap <silent> <Leader><cr> :noh<cr> 234nnoremap <silent> <Leader><cr> :noh<cr>
233" Space will toggle folds! 235" Space used to toggle folds, now it's x (because x is d)
234nnoremap <space> za 236nnoremap <space> "_x
235 237
236" checkmarks on vimwiki 238" checkmarks on vimwiki
237nmap <Leader>v <Plug>VimwikiToggleListItem 239nmap <Leader>v <Plug>VimwikiToggleListItem