projects
/
shutils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4d5919c
)
vimrc: add detectindent
author
Stefan Huber <s.huber@bct-electronic.com>
Wed, 5 Dec 2012 07:25:49 +0000
(08:25 +0100)
committer
Stefan Huber <s.huber@bct-electronic.com>
Wed, 5 Dec 2012 07:25:49 +0000
(08:25 +0100)
dotfiles/vim/.vimrc
patch
|
blob
|
history
diff --git
a/dotfiles/vim/.vimrc
b/dotfiles/vim/.vimrc
index 78f58a1b9fd69973bd94f306dbc9fee1382ad724..ecb9f004faa9463fb45525d6643331f657fba8f1 100644
(file)
--- a/
dotfiles/vim/.vimrc
+++ b/
dotfiles/vim/.vimrc
@@
-20,7
+20,6
@@
filetype plugin indent on
set modeline
set autoindent
set modeline
set autoindent
-"set tabstop=4
set number
set bs=2
set number
set bs=2
@@
-62,7
+61,9
@@
au Filetype python,tex,c,cpp,cs,objc,java syn match BadWhitespace /\s\+$/ contai
" set list to activate
set listchars=tab:»,trail:·,eol:$
" set list to activate
set listchars=tab:»,trail:·,eol:$
-
+au Filetype python,tex,c,cpp,cs,objc,java :DetectIndent
+"let g:detectindent_preferred_expandtab = 1
+"let g:detectindent_preferred_indent = 4
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""