diff options
author | Yigit Sever | 2019-07-21 10:17:46 +0300 |
---|---|---|
committer | Yigit Sever | 2019-07-21 10:17:46 +0300 |
commit | f01c2c5619f1264f8f63ecb9dcd8c5b8c5099e91 (patch) | |
tree | 3debee9bf77935d0bc6dd2325ca851e716252138 /.config/nvim | |
parent | 3818c7d9ee68d228287663cda6a52458778b9713 (diff) | |
download | dotfiles-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.vim | 16 |
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' | |||
42 | Plug 'lervag/vimtex' | 42 | Plug 'lervag/vimtex' |
43 | 43 | ||
44 | "visual display of indent levels | 44 | "visual display of indent levels |
45 | Plug 'nathanaelkane/vim-indent-guides' | 45 | Plug 'thaerkh/vim-indentguides' |
46 | "text alignment | 46 | "text alignment |
47 | Plug 'godlygeek/tabular' | 47 | Plug 'godlygeek/tabular' |
48 | "color code highlight | 48 | "color code highlight |
49 | Plug 'chrisbra/Colorizer' | 49 | Plug 'chrisbra/Colorizer' |
50 | "move selections up and down | 50 | "move selections up and down |
51 | Plug 'matze/vim-move' | 51 | Plug 'matze/vim-move' |
52 | " search/select/edit sandwiched textobjects (vim-surround) | ||
53 | Plug 'machakann/vim-sandwich' | ||
52 | 54 | ||
53 | "folding ledger files | 55 | "folding ledger files |
54 | Plug 'ledger/vim-ledger' | 56 | Plug '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 '.' |
72 | Plug 'tpope/vim-repeat' | 74 | Plug 'tpope/vim-repeat' |
73 | "quoting/parenthesizing made simple | ||
74 | Plug 'tpope/vim-surround' | ||
75 | "pairs of handy bracket mappings | 75 | "pairs of handy bracket mappings |
76 | Plug 'tpope/vim-unimpaired' | 76 | Plug '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 |
161 | endif | 161 | endif |
162 | 162 | ||
163 | let 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> | |||
213 | nnoremap <space> za | 215 | nnoremap <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. |
216 | map N Nzz | 218 | " map N Nzz |
217 | map n nzz | 219 | " map n nzz |
218 | 220 | ||
219 | nnoremap <leader>d :WebsterSearch(expand('<cWORD>'))<cr> | 221 | nnoremap <leader>d :WebsterSearch(expand('<cWORD>'))<cr> |
220 | vnoremap <leader>d :<c-u>WebsterSearch(@*)<cr> | 222 | vnoremap <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 |
223 | nmap <Leader>v <Plug>VimwikiToggleListItem | 225 | nmap <Leader>v <Plug>VimwikiToggleListItem |
224 | 226 | ||
227 | nmap ` <Plug>Sneak_s | ||
228 | nmap <leader>` <Plug>Sneak_S | ||
229 | nnoremap ' ` | ||
230 | |||
225 | """"""""""""""""""""""""""" | 231 | """"""""""""""""""""""""""" |
226 | " yanks/registers/clips " | 232 | " yanks/registers/clips " |
227 | """"""""""""""""""""""""""" | 233 | """"""""""""""""""""""""""" |