summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-03-24 02:12:38 -0500
committerzachir <zachir@librem.one>2024-03-24 02:12:38 -0500
commita379f780dbccbc5ba42a8a58145581d9a9441af2 (patch)
tree51377f91a46a649000cc83c155b1a4c5e497243b /nvim
parentf4cb7fce51024dd9566bea3a7a76013d7b540a94 (diff)
parentde752a009e8ac1df83c1631dac8bbf61a741d087 (diff)
Merge branch 'master' of zachir.xyz:zachir/dotfiles into cascas-old
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.vim16
1 files changed, 7 insertions, 9 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index a28cfc3..8c0d378 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -43,9 +43,7 @@ set showmatch " Highlight matching brace
set number
set relativenumber
-"colorscheme CandyPaper
-"colorscheme SlateDark
-colorscheme preglow
+colorscheme 256-grayvim
set hlsearch " Highlight all search results
set smartcase " Enable smart-case search
@@ -191,12 +189,12 @@ augroup custom
au BufEnter *.tex :LLPStartPreview
au BufEnter *.md :set textwidth=80
au BufEnter *.ms :set textwidth=80
- au BufEnter *.c :colo DevC++
- au BufEnter *.h :colo DevC++
- au BufEnter *.cc :colo DevC++
- au BufEnter *.hh :colo DevC++
- au BufEnter *.cpp :colo DevC++
- au BufEnter *.hpp :colo DevC++
+ "au BufEnter *.c :colo DevC++
+ "au BufEnter *.h :colo DevC++
+ "au BufEnter *.cc :colo DevC++
+ "au BufEnter *.hh :colo DevC++
+ "au BufEnter *.cpp :colo DevC++
+ "au BufEnter *.hpp :colo DevC++
au BufWritePost init.vim :source %
" au BufWritePost *.tex :make
au BufWritePost *sxhkdrc* :!pkill -USR1 -x sxhkd