diff options
author | Matt Singleton <matthew.j.singleton@gmail.com> | 2011-04-08 12:18:57 -0400 |
---|---|---|
committer | Matt Singleton <matthew.j.singleton@gmail.com> | 2011-04-08 12:21:21 -0400 |
commit | 8aea317670e3357afb92d96bf385ac907ab6cced (patch) | |
tree | 746efd9f53f305c9c6812c824988a1dd4b98b43a | |
parent | 0aa08329b4de6b77b12b537baf484034b13ff405 (diff) |
highlight the current row and column. also cleaned up some formatting
-rw-r--r-- | vimrc | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -11,6 +11,8 @@ set ignorecase " ignore case in search set smartcase " respect case in search if uppercase is used set nowrap " do not wrap lines set backspace=indent,eol,start " backspace over all stuff +set cursorcolumn " highlight the current column +set cursorline " highlight the current line " " formatting @@ -34,12 +36,12 @@ if has("autocmd") filetype plugin indent on au! - au FileType text setlocal textwidth=72 - au FileType html setlocal ts=2 sw=2 sts=2 expandtab - au FileType xhtml setlocal ts=2 sw=2 sts=2 expandtab - au FileType htmldjango setlocal ts=2 sw=2 sts=2 expandtab - au FileType ruby setlocal ts=2 sw=2 sts=2 expandtab - au FileType eruby setlocal ts=2 sw=2 sts=2 expandtab + au FileType text setlocal tw=72 + au FileType html setlocal ts=2 sw=2 sts=2 + au FileType xhtml setlocal ts=2 sw=2 sts=2 + au FileType ruby setlocal ts=2 sw=2 sts=2 + au FileType eruby setlocal ts=2 sw=2 sts=2 + au FileType htmldjango setlocal ts=2 sw=2 sts=2 " text files au BufRead,BufNewFile *.txt setlocal filetype=text |