summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc50
1 files changed, 25 insertions, 25 deletions
diff --git a/vimrc b/vimrc
index c5d9ee5..bb18c11 100644
--- a/vimrc
+++ b/vimrc
@@ -52,36 +52,12 @@ call togglebg#map("<F5>")
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\t\|\s\+$/
-" local vimrc
-let g:localvimrc_ask=0
-let g:localvimrc_sandbox=0
-
-" ctags
-nnoremap <silent> <F6> :TlistToggle<CR>
-let Tlist_Ctags_Cmd = "/usr/bin/ctags"
-let Tlist_WinWidth = 50
-let Tlist_Exit_OnlyWindow = 1 " exit if taglist is last window open
-let Tlist_Show_One_File = 1 " Only show tags for current buffer
-let Tlist_Enable_Fold_Column = 0 " no fold column (only showing one file)
-
-" files
-set ff=unix
-set nofsync
-:filetype on
-
-" set list
-" set cursorline
-" set cursorcolumn
-set foldmethod=marker
-set tabstop=4 shiftwidth=4 softtabstop=4 expandtab
-set backspace=indent,eol,start " allow backspacing over everything in insert mode
-
-"set spell
if has("vms")
set nobackupss " do not keep a backup file, use versions instead
else
set backup " keep a backup file
endif
+"set spell
set autoindent " use autoindent"
set nocompatible " do not try to act like vi
set scrolloff=5 " number of context lines above and below the cursor
@@ -93,6 +69,30 @@ set incsearch " do incremental searching
set number " show line number
set showmode " show current mode
+" files
+set ff=unix
+set nofsync
+filetype off " required by vundle
+
+" set list
+" set cursorline
+" set cursorcolumn
+set foldmethod=marker
+set tabstop=4 shiftwidth=4 softtabstop=4 expandtab
+set backspace=indent,eol,start " allow backspacing over everything in insert mode
+
+" local vimrc
+let g:localvimrc_ask=0
+let g:localvimrc_sandbox=0
+
+" ctags
+nnoremap <silent> <F6> :TlistToggle<CR>
+let Tlist_Ctags_Cmd = "/usr/bin/ctags"
+let Tlist_WinWidth = 50
+let Tlist_Exit_OnlyWindow = 1 " exit if taglist is last window open
+let Tlist_Show_One_File = 1 " Only show tags for current buffer
+let Tlist_Enable_Fold_Column = 0 " no fold column (only showing one file)
+
" toggle view invisible with \t
nmap <leader>l :set list!<CR>