From f01c2c5619f1264f8f63ecb9dcd8c5b8c5099e91 Mon Sep 17 00:00:00 2001
From: Yigit Sever
Date: Sun, 21 Jul 2019 10:17:46 +0300
Subject: Change indent guides solution, remove nzz

---
 .config/nvim/init.vim | 16 +++++++++++-----
 1 file 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'
 Plug 'lervag/vimtex'
 
 "visual display of indent levels
-Plug 'nathanaelkane/vim-indent-guides'
+Plug 'thaerkh/vim-indentguides'
 "text alignment
 Plug 'godlygeek/tabular'
 "color code highlight
 Plug 'chrisbra/Colorizer'
 "move selections up and down
 Plug 'matze/vim-move'
+" search/select/edit sandwiched textobjects (vim-surround)
+Plug 'machakann/vim-sandwich'
 
 "folding ledger files
 Plug 'ledger/vim-ledger'
@@ -70,8 +72,6 @@ Plug 'svermeulen/vim-yoink'
 
 "enable repeating supported plugin maps with '.'
 Plug 'tpope/vim-repeat'
-"quoting/parenthesizing made simple
-Plug 'tpope/vim-surround'
 "pairs of handy bracket mappings
 Plug 'tpope/vim-unimpaired'
 "git wrapper
@@ -160,6 +160,8 @@ if executable('rg')
     set grepprg=rg\ --vimgrep\ --no-heading
 endif
 
+let g:indentguides_ignorelist = ['text', 'tex', 'vimwiki']
+
 " }}}
 
 "{{{Look and Feel
@@ -213,8 +215,8 @@ nnoremap <silent> <Leader><cr> :noh<cr>
 nnoremap <space> za
 " Search mappings: These will make it so that going to the next one in a
 " search will center on the line it's found in.
-map N Nzz
-map n nzz
+" map N Nzz
+" map n nzz
 
 nnoremap <leader>d :WebsterSearch(expand('<cWORD>'))<cr>
 vnoremap <leader>d :<c-u>WebsterSearch(@*)<cr>
@@ -222,6 +224,10 @@ vnoremap <leader>d :<c-u>WebsterSearch(@*)<cr>
 " checkmarks on vimwiki
 nmap <Leader>v <Plug>VimwikiToggleListItem
 
+nmap ` <Plug>Sneak_s
+nmap <leader>` <Plug>Sneak_S
+nnoremap ' `
+
 """""""""""""""""""""""""""
 "  yanks/registers/clips  "
 """""""""""""""""""""""""""
-- 
cgit v1.2.3-70-g09d2