Permalink
Browse files

vimrc: add breakindent and showbreak

  • Loading branch information...
drewinglis committed Feb 20, 2014
1 parent f03929d commit 50a652b6c72fb8b410a25da5170299ada71b74ae
Showing with 5 additions and 0 deletions.
  1. +5 −0 vimrc
View
5 vimrc
@@ -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

0 comments on commit 50a652b

Please sign in to comment.