summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
authorYigit Sever2019-07-21 10:17:46 +0300
committerYigit Sever2019-07-21 10:17:46 +0300
commitf01c2c5619f1264f8f63ecb9dcd8c5b8c5099e91 (patch)
tree3debee9bf77935d0bc6dd2325ca851e716252138 /.config/nvim
parent3818c7d9ee68d228287663cda6a52458778b9713 (diff)
downloaddotfiles-f01c2c5619f1264f8f63ecb9dcd8c5b8c5099e91.tar.gz
dotfiles-f01c2c5619f1264f8f63ecb9dcd8c5b8c5099e91.tar.bz2
dotfiles-f01c2c5619f1264f8f63ecb9dcd8c5b8c5099e91.zip
Change indent guides solution, remove nzz
Diffstat (limited to '.config/nvim')
-rwxr-xr-x.config/nvim/init.vim16
1 files changed, 11 insertions, 5 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index e529898..2ccf629 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -42,13 +42,15 @@ Plug 'junegunn/goyo.vim'
42Plug 'lervag/vimtex' 42Plug 'lervag/vimtex'
43 43
44"visual display of indent levels 44"visual display of indent levels
45Plug 'nathanaelkane/vim-indent-guides' 45Plug 'thaerkh/vim-indentguides'
46"text alignment 46"text alignment
47Plug 'godlygeek/tabular' 47Plug 'godlygeek/tabular'
48"color code highlight 48"color code highlight
49Plug 'chrisbra/Colorizer' 49Plug 'chrisbra/Colorizer'
50"move selections up and down 50"move selections up and down
51Plug 'matze/vim-move' 51Plug 'matze/vim-move'
52" search/select/edit sandwiched textobjects (vim-surround)
53Plug 'machakann/vim-sandwich'
52 54
53"folding ledger files 55"folding ledger files
54Plug 'ledger/vim-ledger' 56Plug 'ledger/vim-ledger'
@@ -70,8 +72,6 @@ Plug 'svermeulen/vim-yoink'
70 72
71"enable repeating supported plugin maps with '.' 73"enable repeating supported plugin maps with '.'
72Plug 'tpope/vim-repeat' 74Plug 'tpope/vim-repeat'
73"quoting/parenthesizing made simple
74Plug 'tpope/vim-surround'
75"pairs of handy bracket mappings 75"pairs of handy bracket mappings
76Plug 'tpope/vim-unimpaired' 76Plug 'tpope/vim-unimpaired'
77"git wrapper 77"git wrapper
@@ -160,6 +160,8 @@ if executable('rg')
160 set grepprg=rg\ --vimgrep\ --no-heading 160 set grepprg=rg\ --vimgrep\ --no-heading
161endif 161endif
162 162
163let g:indentguides_ignorelist = ['text', 'tex', 'vimwiki']
164
163" }}} 165" }}}
164 166
165"{{{Look and Feel 167"{{{Look and Feel
@@ -213,8 +215,8 @@ nnoremap <silent> <Leader><cr> :noh<cr>
213nnoremap <space> za 215nnoremap <space> za
214" Search mappings: These will make it so that going to the next one in a 216" Search mappings: These will make it so that going to the next one in a
215" search will center on the line it's found in. 217" search will center on the line it's found in.
216map N Nzz 218" map N Nzz
217map n nzz 219" map n nzz
218 220
219nnoremap <leader>d :WebsterSearch(expand('<cWORD>'))<cr> 221nnoremap <leader>d :WebsterSearch(expand('<cWORD>'))<cr>
220vnoremap <leader>d :<c-u>WebsterSearch(@*)<cr> 222vnoremap <leader>d :<c-u>WebsterSearch(@*)<cr>
@@ -222,6 +224,10 @@ vnoremap <leader>d :<c-u>WebsterSearch(@*)<cr>
222" checkmarks on vimwiki 224" checkmarks on vimwiki
223nmap <Leader>v <Plug>VimwikiToggleListItem 225nmap <Leader>v <Plug>VimwikiToggleListItem
224 226
227nmap ` <Plug>Sneak_s
228nmap <leader>` <Plug>Sneak_S
229nnoremap ' `
230
225""""""""""""""""""""""""""" 231"""""""""""""""""""""""""""
226" yanks/registers/clips " 232" yanks/registers/clips "
227""""""""""""""""""""""""""" 233"""""""""""""""""""""""""""