From 4cb21701414e7b15a0fccf297dc263ace59544bd Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 28 May 2019 15:30:53 +0300 Subject: Nvim is a thesis writer --- .config/nvim/after/plugin/abolish.vim | 2 ++ .config/nvim/init.vim | 37 ++++++++++++++++++++++++----------- 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{} iabbrev todaylongdate =strftime("%a %b %d %T %Z %Y") iabbrev todaydatetime =strftime("%F %T") iabbrev todaydate =strftime("%F") +iabbrev pwn English Princeton WordNet +iabbrev 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' " color themes Plug 'arcticicestudio/nord-vim' Plug 'aonemd/kuroi.vim' +Plug 'ayu-theme/ayu-vim' +Plug 'lifepillar/vim-gruvbox8' "Personal wiki Plug 'vimwiki/vimwiki' @@ -119,12 +121,13 @@ set softtabstop=4 set tabstop=8 " Use english for spellchecking, but don't spellcheck by default -set spell spelllang=en_us +set spell spelllang=en_gb set nospell " Cool tab completion stuff set wildmode=list:longest,full -set wildignore=*.o,*.obj,*.class +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 +let g:NERDTreeRespectWildIgnore = 1 set nojoinspaces set scrolloff=4 " Keep n lines above/below cursor @@ -165,7 +168,10 @@ let g:nord_italic = 1 let g:nord_italic_comments = 1 let g:nord_cursor_line_number_background = 1 +let ayucolor="light" + colorscheme nord +" colorscheme ayu " }}} @@ -224,19 +230,19 @@ nmap p (YoinkPaste_p) nmap P (YoinkPaste_P) " substitute from yank -nnoremap ys (SubversiveSubstitute) -nnoremap yss (SubversiveSubstituteLine) -nnoremap yS (SubversiveSubstituteToEndOfLine) +nmap ys (SubversiveSubstitute) +nmap yss (SubversiveSubstituteLine) +nmap yS (SubversiveSubstituteToEndOfLine) " substitute over range -nnoremap s (SubversiveSubstituteRange) -xnoremap s (SubversiveSubstituteRange) -nnoremap ss (SubversiveSubstituteWordRange) +nmap s (SubversiveSubstituteRange) +xmap s (SubversiveSubstituteRange) +nmap ss (SubversiveSubstituteWordRange) " subvert over range -nnoremap s (SubversiveSubvertRange) -xnoremap s (SubversiveSubvertRange) -nnoremap ss (SubversiveSubvertWordRange) +nmap s (SubversiveSubvertRange) +xmap s (SubversiveSubvertRange) +nmap ss (SubversiveSubvertWordRange) " iterate over yank list nmap (YoinkPostPasteSwapBack) @@ -259,6 +265,9 @@ let g:airline_powerline_fonts = 1 let g:airline#extensions#tabline#formatter = 'unique_tail' let g:airline#extensions#ycm#enabled = 1 +let g:airline#extensions#tabline#enabled = 1 +let g:airline#extensions#tabline#left_sep = ' ' +let g:airline#extensions#tabline#left_alt_sep = '|' "}}} "{{{ NERDTree @@ -320,8 +329,14 @@ let g:vimwiki_global_ext = 0 " {{{ vimtex let g:vimtex_view_method = 'zathura' +let g:tex_flavor='latex' +let g:vimtex_quickfix_mode = 0 " }}} " {{{ rainbow let g:rainbow_active = 0 " }}} + +" {{{ Gutentags +let g:gutentags_project_root = ['Makefile'] +" }}} -- cgit v1.2.3-70-g09d2