Adjusted VIM settings
This commit is contained in:
parent
7c7d8e41e2
commit
5efdf05274
1 changed files with 7 additions and 3 deletions
|
|
@ -54,11 +54,15 @@ endif
|
|||
" 2Shirt Stuff
|
||||
set autoindent " align the new line indent with the previous line
|
||||
set expandtab " insert spaces when hitting TABs
|
||||
set nowrap " I'd rather manually wrap than manually unwrap
|
||||
set shiftround " round indent to multiple of 'shiftwidth'
|
||||
set shiftwidth=4 " operation >> indents 4 columns; << unindents 4 columns
|
||||
set softtabstop=4 " insert/delete 4 spaces when hitting a TAB/BACKSPACE
|
||||
set tabstop=4 " an hard TAB displays as 4 columns
|
||||
set shiftwidth=2 " operation >> indents 2 columns; << unindents 2 columns
|
||||
set softtabstop=2 " insert/delete 2 spaces when hitting a TAB/BACKSPACE
|
||||
set tabstop=2 " an hard TAB displays as 2 columns
|
||||
|
||||
" Python Stuff.
|
||||
au FileType python set textwidth=79 " lines longer than 79 columns will be broken
|
||||
|
||||
" Do wrap stuff
|
||||
au FileType text set wrap
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue