aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMatt Singleton <matthew.j.singleton@gmail.com>2011-04-08 12:18:57 -0400
committerMatt Singleton <matthew.j.singleton@gmail.com>2011-04-08 12:21:21 -0400
commit8aea317670e3357afb92d96bf385ac907ab6cced (patch)
tree746efd9f53f305c9c6812c824988a1dd4b98b43a /vimrc
parent0aa08329b4de6b77b12b537baf484034b13ff405 (diff)
highlight the current row and column. also cleaned up some formatting
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc14
1 files changed, 8 insertions, 6 deletions
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