diff options
author | Yigit Sever | 2019-08-02 14:29:29 +0300 |
---|---|---|
committer | Yigit Sever | 2019-08-02 14:29:29 +0300 |
commit | d394d6e3922a664606ba778cf350f1d1634f8c2a (patch) | |
tree | 11b353477bdcd99d41d88b8a82bfe27060576e36 /.config/nvim | |
parent | 6dbdaed9e2586d8198105fcbb73610aff741d404 (diff) | |
parent | 332fd9fbdd6ce75915ee31a31cbf81e1e0b260ed (diff) | |
download | dotfiles-d394d6e3922a664606ba778cf350f1d1634f8c2a.tar.gz dotfiles-d394d6e3922a664606ba778cf350f1d1634f8c2a.tar.bz2 dotfiles-d394d6e3922a664606ba778cf350f1d1634f8c2a.zip |
Merge branch 'master' of 207.154.210.186:/home/yigit/dots
Diffstat (limited to '.config/nvim')
-rwxr-xr-x | .config/nvim/init.vim | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index e529898..0b72413 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -29,10 +29,12 @@ Plug 'majutsushi/tagbar' | |||
29 | Plug 'bling/vim-airline' | 29 | Plug 'bling/vim-airline' |
30 | 30 | ||
31 | " color themes | 31 | " color themes |
32 | Plug 'arcticicestudio/nord-vim' | 32 | Plug 'lifepillar/vim-solarized8' |
33 | Plug 'aonemd/kuroi.vim' | 33 | |
34 | Plug 'ayu-theme/ayu-vim' | 34 | " Plug 'arcticicestudio/nord-vim' |
35 | Plug 'lifepillar/vim-gruvbox8' | 35 | " Plug 'aonemd/kuroi.vim' |
36 | " Plug 'ayu-theme/ayu-vim' | ||
37 | " Plug 'lifepillar/vim-gruvbox8' | ||
36 | 38 | ||
37 | "Personal wiki | 39 | "Personal wiki |
38 | Plug 'vimwiki/vimwiki' | 40 | Plug 'vimwiki/vimwiki' |
@@ -42,13 +44,15 @@ Plug 'junegunn/goyo.vim' | |||
42 | Plug 'lervag/vimtex' | 44 | Plug 'lervag/vimtex' |
43 | 45 | ||
44 | "visual display of indent levels | 46 | "visual display of indent levels |
45 | Plug 'nathanaelkane/vim-indent-guides' | 47 | Plug 'thaerkh/vim-indentguides' |
46 | "text alignment | 48 | "text alignment |
47 | Plug 'godlygeek/tabular' | 49 | Plug 'godlygeek/tabular' |
48 | "color code highlight | 50 | "color code highlight |
49 | Plug 'chrisbra/Colorizer' | 51 | Plug 'chrisbra/Colorizer' |
50 | "move selections up and down | 52 | "move selections up and down |
51 | Plug 'matze/vim-move' | 53 | Plug 'matze/vim-move' |
54 | " search/select/edit sandwiched textobjects (vim-surround) | ||
55 | Plug 'machakann/vim-sandwich' | ||
52 | 56 | ||
53 | "folding ledger files | 57 | "folding ledger files |
54 | Plug 'ledger/vim-ledger' | 58 | Plug 'ledger/vim-ledger' |
@@ -70,8 +74,6 @@ Plug 'svermeulen/vim-yoink' | |||
70 | 74 | ||
71 | "enable repeating supported plugin maps with '.' | 75 | "enable repeating supported plugin maps with '.' |
72 | Plug 'tpope/vim-repeat' | 76 | Plug 'tpope/vim-repeat' |
73 | "quoting/parenthesizing made simple | ||
74 | Plug 'tpope/vim-surround' | ||
75 | "pairs of handy bracket mappings | 77 | "pairs of handy bracket mappings |
76 | Plug 'tpope/vim-unimpaired' | 78 | Plug 'tpope/vim-unimpaired' |
77 | "git wrapper | 79 | "git wrapper |
@@ -160,21 +162,21 @@ if executable('rg') | |||
160 | set grepprg=rg\ --vimgrep\ --no-heading | 162 | set grepprg=rg\ --vimgrep\ --no-heading |
161 | endif | 163 | endif |
162 | 164 | ||
165 | let g:indentguides_ignorelist = ['text', 'tex', 'vimwiki'] | ||
166 | |||
163 | " }}} | 167 | " }}} |
164 | 168 | ||
165 | "{{{Look and Feel | 169 | "{{{Look and Feel |
166 | 170 | ||
167 | set termguicolors | 171 | set termguicolors |
168 | 172 | ||
169 | let g:nord_underline = 1 | 173 | " let g:nord_underline = 1 |
170 | let g:nord_italic = 1 | 174 | " let g:nord_italic = 1 |
171 | let g:nord_italic_comments = 1 | 175 | " let g:nord_italic_comments = 1 |
172 | let g:nord_cursor_line_number_background = 1 | 176 | " let g:nord_cursor_line_number_background = 1 |
177 | " let ayucolor="light" | ||
173 | 178 | ||
174 | let ayucolor="light" | 179 | colorscheme solarized8 |
175 | |||
176 | colorscheme nord | ||
177 | " colorscheme ayu | ||
178 | 180 | ||
179 | " }}} | 181 | " }}} |
180 | 182 | ||
@@ -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 | """"""""""""""""""""""""""" |