aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTucker Evans <tucker@tuckerevans.com>2021-06-06 13:27:59 -0400
committerTucker Evans <tucker@tuckerevans.com>2021-06-06 13:27:59 -0400
commit9cf22053bb2360fbb2325dd09f27c32a4e9bc596 (patch)
tree154fcf15e626670412ad7fbce4fdd78c608c3cd3
parent6386284a4d1d6f3b1bb31d6eaf3e2b2e78872891 (diff)
Update vim configs
-rw-r--r--vim/.vim/after/ftplugin/c.vim6
-rw-r--r--vim/.vim/after/ftplugin/tex.vim1
-rw-r--r--vim/.vimrc9
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<enter><esc>
map W <esc>:WordCount<enter>
-"colorscheme elflord
-set t_Co=256
+colorscheme elflord
+set t_Co=255
set background=light
+"set background=dark
"colorscheme firewatch
colorscheme PaperColor