diff options
-rw-r--r-- | vim/.vim/after/ftplugin/c.vim | 6 | ||||
-rw-r--r-- | vim/.vim/after/ftplugin/tex.vim | 1 | ||||
-rw-r--r-- | 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 @@ -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 |