diff options
-rw-r--r-- | .config/kitty/kitty.conf | 2 | ||||
-rw-r--r-- | .config/nvim/after/plugin/abolish.vim | 2 | ||||
-rwxr-xr-x | .config/nvim/init.vim | 37 |
3 files changed, 29 insertions, 12 deletions
diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index b681e2c..64864cb 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf | |||
@@ -19,7 +19,7 @@ box_drawing_scale 0.001, 1, 1.5, 2 | |||
19 | #: Cursor customization {{{ | 19 | #: Cursor customization {{{ |
20 | 20 | ||
21 | cursor_shape block | 21 | cursor_shape block |
22 | cursor #d8dee9 | 22 | cursor #00F2FF |
23 | cursor_text_color background | 23 | cursor_text_color background |
24 | 24 | ||
25 | cursor_blink_interval 0 | 25 | cursor_blink_interval 0 |
diff --git a/.config/nvim/after/plugin/abolish.vim b/.config/nvim/after/plugin/abolish.vim index 545ccb3..1c1e6bc 100644 --- a/.config/nvim/after/plugin/abolish.vim +++ b/.config/nvim/after/plugin/abolish.vim | |||
@@ -9,3 +9,5 @@ Abolish {,ir}releven{ce,cy,t,tly} {}relevan{} | |||
9 | iabbrev <silent> todaylongdate <C-R>=strftime("%a %b %d %T %Z %Y")<CR> | 9 | iabbrev <silent> todaylongdate <C-R>=strftime("%a %b %d %T %Z %Y")<CR> |
10 | iabbrev <silent> todaydatetime <C-R>=strftime("%F %T")<CR> | 10 | iabbrev <silent> todaydatetime <C-R>=strftime("%F %T")<CR> |
11 | iabbrev <silent> todaydate <C-R>=strftime("%F")<CR> | 11 | iabbrev <silent> todaydate <C-R>=strftime("%F")<CR> |
12 | iabbrev <silent> pwn English Princeton WordNet | ||
13 | iabbrev <silent> omw Open Multilingual WordNet | ||
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index f3919ec..c4e7c62 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -28,6 +28,8 @@ Plug 'bling/vim-airline' | |||
28 | " color themes | 28 | " color themes |
29 | Plug 'arcticicestudio/nord-vim' | 29 | Plug 'arcticicestudio/nord-vim' |
30 | Plug 'aonemd/kuroi.vim' | 30 | Plug 'aonemd/kuroi.vim' |
31 | Plug 'ayu-theme/ayu-vim' | ||
32 | Plug 'lifepillar/vim-gruvbox8' | ||
31 | 33 | ||
32 | "Personal wiki | 34 | "Personal wiki |
33 | Plug 'vimwiki/vimwiki' | 35 | Plug 'vimwiki/vimwiki' |
@@ -119,12 +121,13 @@ set softtabstop=4 | |||
119 | set tabstop=8 | 121 | set tabstop=8 |
120 | 122 | ||
121 | " Use english for spellchecking, but don't spellcheck by default | 123 | " Use english for spellchecking, but don't spellcheck by default |
122 | set spell spelllang=en_us | 124 | set spell spelllang=en_gb |
123 | set nospell | 125 | set nospell |
124 | 126 | ||
125 | " Cool tab completion stuff | 127 | " Cool tab completion stuff |
126 | set wildmode=list:longest,full | 128 | set wildmode=list:longest,full |
127 | set wildignore=*.o,*.obj,*.class | 129 | set wildignore=*.o,*.obj,*.class,*.aux,*.lof,*.log,*.lot,*.fls,*.toc,*.fmt,*.fot,*.cb,*.cb2,.*.lb,.dvi,*.xdv,*.bbl,*.bcf,*.blg,*-blx.aux,*-blx.bib,*.run.xml,*.fdb_latexmk,*.synctex,*.synctex(busy),*.synctex.gz,*.synctex.gz(busy),*.pdfsync |
130 | let g:NERDTreeRespectWildIgnore = 1 | ||
128 | set nojoinspaces | 131 | set nojoinspaces |
129 | 132 | ||
130 | set scrolloff=4 " Keep n lines above/below cursor | 133 | set scrolloff=4 " Keep n lines above/below cursor |
@@ -165,7 +168,10 @@ let g:nord_italic = 1 | |||
165 | let g:nord_italic_comments = 1 | 168 | let g:nord_italic_comments = 1 |
166 | let g:nord_cursor_line_number_background = 1 | 169 | let g:nord_cursor_line_number_background = 1 |
167 | 170 | ||
171 | let ayucolor="light" | ||
172 | |||
168 | colorscheme nord | 173 | colorscheme nord |
174 | " colorscheme ayu | ||
169 | 175 | ||
170 | " }}} | 176 | " }}} |
171 | 177 | ||
@@ -224,19 +230,19 @@ nmap p <plug>(YoinkPaste_p) | |||
224 | nmap P <plug>(YoinkPaste_P) | 230 | nmap P <plug>(YoinkPaste_P) |
225 | 231 | ||
226 | " substitute from yank | 232 | " substitute from yank |
227 | nnoremap <leader>ys <plug>(SubversiveSubstitute) | 233 | nmap <leader>ys <plug>(SubversiveSubstitute) |
228 | nnoremap <leader>yss <plug>(SubversiveSubstituteLine) | 234 | nmap <leader>yss <plug>(SubversiveSubstituteLine) |
229 | nnoremap <leader>yS <plug>(SubversiveSubstituteToEndOfLine) | 235 | nmap <leader>yS <plug>(SubversiveSubstituteToEndOfLine) |
230 | 236 | ||
231 | " substitute over range | 237 | " substitute over range |
232 | nnoremap <leader>s <plug>(SubversiveSubstituteRange) | 238 | nmap <leader>s <plug>(SubversiveSubstituteRange) |
233 | xnoremap <leader>s <plug>(SubversiveSubstituteRange) | 239 | xmap <leader>s <plug>(SubversiveSubstituteRange) |
234 | nnoremap <leader>ss <plug>(SubversiveSubstituteWordRange) | 240 | nmap <leader>ss <plug>(SubversiveSubstituteWordRange) |
235 | 241 | ||
236 | " subvert over range | 242 | " subvert over range |
237 | nnoremap <leader><Leader>s <plug>(SubversiveSubvertRange) | 243 | nmap <leader><Leader>s <plug>(SubversiveSubvertRange) |
238 | xnoremap <leader><leader>s <plug>(SubversiveSubvertRange) | 244 | xmap <leader><leader>s <plug>(SubversiveSubvertRange) |
239 | nnoremap <leader><leader>ss <plug>(SubversiveSubvertWordRange) | 245 | nmap <leader><leader>ss <plug>(SubversiveSubvertWordRange) |
240 | 246 | ||
241 | " iterate over yank list | 247 | " iterate over yank list |
242 | nmap <c-n> <plug>(YoinkPostPasteSwapBack) | 248 | nmap <c-n> <plug>(YoinkPostPasteSwapBack) |
@@ -259,6 +265,9 @@ let g:airline_powerline_fonts = 1 | |||
259 | 265 | ||
260 | let g:airline#extensions#tabline#formatter = 'unique_tail' | 266 | let g:airline#extensions#tabline#formatter = 'unique_tail' |
261 | let g:airline#extensions#ycm#enabled = 1 | 267 | let g:airline#extensions#ycm#enabled = 1 |
268 | let g:airline#extensions#tabline#enabled = 1 | ||
269 | let g:airline#extensions#tabline#left_sep = ' ' | ||
270 | let g:airline#extensions#tabline#left_alt_sep = '|' | ||
262 | "}}} | 271 | "}}} |
263 | 272 | ||
264 | "{{{ NERDTree | 273 | "{{{ NERDTree |
@@ -320,8 +329,14 @@ let g:vimwiki_global_ext = 0 | |||
320 | 329 | ||
321 | " {{{ vimtex | 330 | " {{{ vimtex |
322 | let g:vimtex_view_method = 'zathura' | 331 | let g:vimtex_view_method = 'zathura' |
332 | let g:tex_flavor='latex' | ||
333 | let g:vimtex_quickfix_mode = 0 | ||
323 | " }}} | 334 | " }}} |
324 | 335 | ||
325 | " {{{ rainbow | 336 | " {{{ rainbow |
326 | let g:rainbow_active = 0 | 337 | let g:rainbow_active = 0 |
327 | " }}} | 338 | " }}} |
339 | |||
340 | " {{{ Gutentags | ||
341 | let g:gutentags_project_root = ['Makefile'] | ||
342 | " }}} | ||