summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-05-28 15:30:53 +0300
committerYigit Sever2019-05-28 15:35:40 +0300
commit4cb21701414e7b15a0fccf297dc263ace59544bd (patch)
treed700e619c42c78a821d016e900d7466151eff835
parentd1bd1163aaa8ff8668b08632f3501e5041b568e5 (diff)
downloaddotfiles-4cb21701414e7b15a0fccf297dc263ace59544bd.tar.gz
dotfiles-4cb21701414e7b15a0fccf297dc263ace59544bd.tar.bz2
dotfiles-4cb21701414e7b15a0fccf297dc263ace59544bd.zip
Nvim is a thesis writer
-rw-r--r--.config/nvim/after/plugin/abolish.vim2
-rwxr-xr-x.config/nvim/init.vim37
2 files changed, 28 insertions, 11 deletions
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{}
9iabbrev <silent> todaylongdate <C-R>=strftime("%a %b %d %T %Z %Y")<CR> 9iabbrev <silent> todaylongdate <C-R>=strftime("%a %b %d %T %Z %Y")<CR>
10iabbrev <silent> todaydatetime <C-R>=strftime("%F %T")<CR> 10iabbrev <silent> todaydatetime <C-R>=strftime("%F %T")<CR>
11iabbrev <silent> todaydate <C-R>=strftime("%F")<CR> 11iabbrev <silent> todaydate <C-R>=strftime("%F")<CR>
12iabbrev <silent> pwn English Princeton WordNet
13iabbrev <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
29Plug 'arcticicestudio/nord-vim' 29Plug 'arcticicestudio/nord-vim'
30Plug 'aonemd/kuroi.vim' 30Plug 'aonemd/kuroi.vim'
31Plug 'ayu-theme/ayu-vim'
32Plug 'lifepillar/vim-gruvbox8'
31 33
32"Personal wiki 34"Personal wiki
33Plug 'vimwiki/vimwiki' 35Plug 'vimwiki/vimwiki'
@@ -119,12 +121,13 @@ set softtabstop=4
119set tabstop=8 121set 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
122set spell spelllang=en_us 124set spell spelllang=en_gb
123set nospell 125set nospell
124 126
125" Cool tab completion stuff 127" Cool tab completion stuff
126set wildmode=list:longest,full 128set wildmode=list:longest,full
127set wildignore=*.o,*.obj,*.class 129set 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
130let g:NERDTreeRespectWildIgnore = 1
128set nojoinspaces 131set nojoinspaces
129 132
130set scrolloff=4 " Keep n lines above/below cursor 133set scrolloff=4 " Keep n lines above/below cursor
@@ -165,7 +168,10 @@ let g:nord_italic = 1
165let g:nord_italic_comments = 1 168let g:nord_italic_comments = 1
166let g:nord_cursor_line_number_background = 1 169let g:nord_cursor_line_number_background = 1
167 170
171let ayucolor="light"
172
168colorscheme nord 173colorscheme nord
174" colorscheme ayu
169 175
170" }}} 176" }}}
171 177
@@ -224,19 +230,19 @@ nmap p <plug>(YoinkPaste_p)
224nmap P <plug>(YoinkPaste_P) 230nmap P <plug>(YoinkPaste_P)
225 231
226" substitute from yank 232" substitute from yank
227nnoremap <leader>ys <plug>(SubversiveSubstitute) 233nmap <leader>ys <plug>(SubversiveSubstitute)
228nnoremap <leader>yss <plug>(SubversiveSubstituteLine) 234nmap <leader>yss <plug>(SubversiveSubstituteLine)
229nnoremap <leader>yS <plug>(SubversiveSubstituteToEndOfLine) 235nmap <leader>yS <plug>(SubversiveSubstituteToEndOfLine)
230 236
231" substitute over range 237" substitute over range
232nnoremap <leader>s <plug>(SubversiveSubstituteRange) 238nmap <leader>s <plug>(SubversiveSubstituteRange)
233xnoremap <leader>s <plug>(SubversiveSubstituteRange) 239xmap <leader>s <plug>(SubversiveSubstituteRange)
234nnoremap <leader>ss <plug>(SubversiveSubstituteWordRange) 240nmap <leader>ss <plug>(SubversiveSubstituteWordRange)
235 241
236" subvert over range 242" subvert over range
237nnoremap <leader><Leader>s <plug>(SubversiveSubvertRange) 243nmap <leader><Leader>s <plug>(SubversiveSubvertRange)
238xnoremap <leader><leader>s <plug>(SubversiveSubvertRange) 244xmap <leader><leader>s <plug>(SubversiveSubvertRange)
239nnoremap <leader><leader>ss <plug>(SubversiveSubvertWordRange) 245nmap <leader><leader>ss <plug>(SubversiveSubvertWordRange)
240 246
241" iterate over yank list 247" iterate over yank list
242nmap <c-n> <plug>(YoinkPostPasteSwapBack) 248nmap <c-n> <plug>(YoinkPostPasteSwapBack)
@@ -259,6 +265,9 @@ let g:airline_powerline_fonts = 1
259 265
260let g:airline#extensions#tabline#formatter = 'unique_tail' 266let g:airline#extensions#tabline#formatter = 'unique_tail'
261let g:airline#extensions#ycm#enabled = 1 267let g:airline#extensions#ycm#enabled = 1
268let g:airline#extensions#tabline#enabled = 1
269let g:airline#extensions#tabline#left_sep = ' '
270let 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
322let g:vimtex_view_method = 'zathura' 331let g:vimtex_view_method = 'zathura'
332let g:tex_flavor='latex'
333let g:vimtex_quickfix_mode = 0
323" }}} 334" }}}
324 335
325" {{{ rainbow 336" {{{ rainbow
326let g:rainbow_active = 0 337let g:rainbow_active = 0
327" }}} 338" }}}
339
340" {{{ Gutentags
341let g:gutentags_project_root = ['Makefile']
342" }}}