From 8aea317670e3357afb92d96bf385ac907ab6cced Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 8 Apr 2011 12:18:57 -0400 Subject: highlight the current row and column. also cleaned up some formatting --- vimrc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 3dc9684..de375d4 100644 --- a/vimrc +++ b/vimrc @@ -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 -- cgit v1.2.3