about summary refs log tree commit diff stats
path: root/config/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'config/nvim/init.vim')
-rw-r--r--config/nvim/init.vim40
1 files changed, 22 insertions, 18 deletions
diff --git a/config/nvim/init.vim b/config/nvim/init.vim
index 41450bb..0632b5d 100644
--- a/config/nvim/init.vim
+++ b/config/nvim/init.vim
@@ -10,8 +10,6 @@ call plug#begin('~/.local/share/nvim/plugged')
 Plug 'gregsexton/matchtag'
 " lightline.vim
 Plug 'itchyny/lightline.vim'
-" wal.vim
-Plug 'dylanaraps/wal.vim'
 " vim-fugitive
 Plug 'tpope/vim-fugitive'
 " vim-gitgutter
@@ -20,20 +18,23 @@ Plug 'airblade/vim-gitgutter'
 Plug 'tpope/vim-surround'
 " JsBeautify
 Plug 'maksimr/vim-jsbeautify'
-" recognize color tags
-Plug 'lilydjwg/colorizer'
 " syntax checking
 Plug 'vim-syntastic/syntastic'
+" lf integration
+Plug 'ptzz/lf.vim'
+" req for lf.vim
+Plug 'rbgrouleff/bclose.vim'
+"""plugin graveyard
+" END PLUGINS
+"" recognize color tags
+"Plug 'lilydjwg/colorizer'
 "" VimCompletesMe
 "Plug 'ajh17/VimCompletesMe'
-" END PLUGINS
 call plug#end()
 
 " end of vim-plug related lines
 
-"colo wal
-colo asmanian_blood
-set tgc
+colo delek
 
 " productivity binds
 
@@ -79,26 +80,29 @@ let g:syntastic_check_on_open = 1
 let g:syntastic_check_on_wq = 0
 
 let g:syntastic_c_checkers = ["cppcheck"]
+let g:syntastic_cpp_checkers = ["cppcheck"]
 let g:syntastic_sh_checkers = ["shellcheck", "sh"]
 
 " lightline config
 set noshowmode
 let g:lightline = {
 	\ 'colorscheme': 'selenized_dark',
-	\ 'separator': {
-	\	'left': '',
-	\	'right': ''
-	\	},
-	\ 'subseparator': {
-	\	'left': '',
-	\	'right': ''
-	\	},
 	\ }
 
+" lf config
+let g:lf_replace_netrw = 1
+
 " betterize
 set path+=**
 
+cno w!! exe 'sil! w !doas tee % >/dev/null' <bar> e!
+nno <space> :noh<return><space>
 " add a ctags shortcut like a shitty goblin
-command! MakeTags !ectags -R .
+com! MakeTags !ectags -R .
 " make make work when im learning c
-autocmd BufRead $HOME/src/c-practice/*.c set makeprg=cc\ --std=c89\ %
+autocmd BufRead $HOME/src/me/c-practice/*.c set makeprg=pcc\ -ansi\ %
+" calcurse notes should be treated as markdown
+autocmd BufRead,BufNewFile /tmp/calcurse* set filetype=markdown
+autocmd BufRead,BufNewFile ~/.local/share/calcurse/notes/* set filetype=markdown
+" ksh should work
+autocmd FileType ksh let g:is_kornshell = 1