Browse files

Show invisibles in vim; underscore as delimiter

  • Loading branch information...
1 parent 04cb047 commit e442bb58f78f81315ede6ca2f9049c9ad0b9595a @dlh01 committed Oct 27, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 vimrc
View
9 vimrc
@@ -47,6 +47,13 @@ set clipboard+=unnamed
" Spell-check on
set spell
+" Show invisibles: tabs, trailing spaces, EOL
+set listchars=tab:\ ,eol:¬,trail:-
+
+" Use underscore as a delimiter for word movement
+" http://lglinux.blogspot.com/2008/04/vim-word-movement-with-underscore.html
+set iskeyword-=_
+
" Search settings
" --------------------------------------------------------------------
@@ -90,7 +97,7 @@ set undofile
set autoindent
" Insert indent after a line ending in { or before a line starting with }
-" set smartindent
+set smartindent
" Break lines by word, not character
set linebreak

0 comments on commit e442bb5

Please sign in to comment.