Skip to content

Commit

Permalink
add softtabstop; alter a few indents to be consistent with rest of file
Browse files Browse the repository at this point in the history
  • Loading branch information
putermancer committed Oct 3, 2010
1 parent 683b784 commit 4571fc7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -88,20 +88,21 @@
set whichwrap=b,s,h,l,<,>,[,] " backspace and cursor keys wrap to
set scrolljump=5 " lines to scroll when cursor leaves screen
set scrolloff=3 " minimum lines to keep above and below cursor
set nofoldenable " disable auto fold code
set nofoldenable " disable auto fold code
set gdefault " the /g flag on :s substitutions by default

" }

" Formatting {
" set nowrap " wrap long lines
" set nowrap " wrap long lines
set autoindent " indent at the same level of the previous line
set shiftwidth=4 " use indents of 4 spaces
set expandtab " tabs are spaces
set tabstop=4 " an indentation every four columns
set softtabstop=4 " a soft indentation every four columns
"set matchpairs+=<:> " match, to be used with %
"set pastetoggle=<F12> " pastetoggle (sane indentation on pastes)
"set comments=sl:/*,mb:*,elx:*/ " auto format comment blocks
"set pastetoggle=<F12> " pastetoggle (sane indentation on pastes)
"set comments=sl:/*,mb:*,elx:*/ " auto format comment blocks
" }

" Python helpers {
Expand Down Expand Up @@ -268,6 +269,7 @@
" Project related {
map <C-p> <Plug>ToggleProject
map <C-e> :NERDTreeToggle<CR>:NERDTreeMirror<CR>
map <leader>e :NERDTreeFind<CR>
nmap <leader>nt :NERDTreeFind<CR>
let NERDTreeShowBookmarks=1
Expand Down

0 comments on commit 4571fc7

Please sign in to comment.