aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-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