From 9cf22053bb2360fbb2325dd09f27c32a4e9bc596 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Sun, 6 Jun 2021 13:27:59 -0400 Subject: Update vim configs --- vim/.vim/after/ftplugin/c.vim | 6 ++++++ vim/.vim/after/ftplugin/tex.vim | 1 - vim/.vimrc | 9 ++++++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/vim/.vim/after/ftplugin/c.vim b/vim/.vim/after/ftplugin/c.vim index b23ce46..e7dc9b6 100644 --- a/vim/.vim/after/ftplugin/c.vim +++ b/vim/.vim/after/ftplugin/c.vim @@ -3,3 +3,9 @@ set cindent set nospell set foldmarker=#if,#endif +set iskeyword-=_ + +set tabstop=8 +set softtabstop=8 +set shiftwidth=8 +set noexpandtab diff --git a/vim/.vim/after/ftplugin/tex.vim b/vim/.vim/after/ftplugin/tex.vim index c3bea98..7dcafeb 100644 --- a/vim/.vim/after/ftplugin/tex.vim +++ b/vim/.vim/after/ftplugin/tex.vim @@ -1,3 +1,2 @@ set spell set tw=70 -VimtexTocOpen diff --git a/vim/.vimrc b/vim/.vimrc index d9090a8..fc8ce8f 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,4 +1,4 @@ -set number relativenumber +set number syntax enable set tabstop=8 set cursorline @@ -18,6 +18,8 @@ set colorcolumn=70 set encoding=utf-8 +let rust_recommended_style=0 + set list set listchars=eol:\ ,tab:\|\ ,trail:~,extends:>,precedes:<,space:· @@ -25,9 +27,10 @@ set listchars=eol:\ ,tab:\|\ ,trail:~,extends:>,precedes:<,space:· map K i map W :WordCount -"colorscheme elflord -set t_Co=256 +colorscheme elflord +set t_Co=255 set background=light +"set background=dark "colorscheme firewatch colorscheme PaperColor -- cgit v1.1