summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/ftplugin/c.vim2
-rw-r--r--.vimrc6
2 files changed, 4 insertions, 4 deletions
diff --git a/.vim/ftplugin/c.vim b/.vim/ftplugin/c.vim
index e69de29..9f890e7 100644
--- a/.vim/ftplugin/c.vim
+++ b/.vim/ftplugin/c.vim
@@ -0,0 +1,2 @@
+setlocal textwidth=80
+setlocal cindent
diff --git a/.vimrc b/.vimrc
index 0ba74df..1abacc2 100644
--- a/.vimrc
+++ b/.vimrc
@@ -28,8 +28,8 @@ set foldmethod=marker
" Wrap line longer than the display
"set wrap
-" Textwidth of 80 (Standard terminal)
-set tw=80
+" Textwidth of 100
+set textwidth=100
" Number of undo operations to store
set undolevels=50
@@ -55,8 +55,6 @@ filetype on " Enable filetype detection
filetype indent on " Enable filetype specific indenting
filetype plugin on " Enable filetype specific plugins
-au FileType c set cindent
-
let g:git_diff_spawn_mode=2
" }}}