Skip to content

Commit

Permalink
vimrc: add breakindent and showbreak
Browse files Browse the repository at this point in the history
  • Loading branch information
drewinglis committed Feb 20, 2014
1 parent f03929d commit 50a652b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vimrc
Expand Up @@ -23,6 +23,11 @@ set smartcase " ... unless they contain at least one capital l
set number
set splitright " open new vertical splits on the right-hand side

" Use breakindent patch to automatically indent wrapping lines
" Get it here: https://github.com/drewinglis/vim-breakindent
set breakindent
set showbreak=\ \ " comment so that the whitespace works >.>

" remove all whitespace at the end of lines
autocmd BufWritePre * :%s/\s\+$//e

Expand Down

0 comments on commit 50a652b

Please sign in to comment.