summaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-11-27 01:27:43 +0100
committerStefan Ritter <xeno@thehappy.de>2009-11-27 01:27:43 +0100
commit281c8f147237ce74a09dc08944b671cefdf47f52 (patch)
tree5f107e0568c1e79c05119dca0c644ae10090dc26 /vim/vimrc
parent55de9381126e877eb54bcd06673e835e35e11c7d (diff)
Made vimrc more beautiful
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc15
1 files changed, 8 insertions, 7 deletions
diff --git a/vim/vimrc b/vim/vimrc
index c005add..1cd7074 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -2,18 +2,18 @@ syntax on
colorscheme slate
filetype plugin indent on
-set laststatus=2
-set number
-set noerrorbells
+set ls=0 " disable statusbar
+set number " enable linenumbers
+set noerrorbells " bell sucks
set autoindent
set tabstop=8
set shiftround
-set modeline
-set nobackup
-set cursorline
+set modeline " enable modelines
+set nobackup " get rid of backupfiles
set listchars=tab:»·
-set list
+set list " enable tab chars
+" NERDtree stuff
let g:NERDTreeQuitOnOpen = 1
let g:NERDChristmasTree = 1
let g:NERDTreeStatusline = 1
@@ -23,5 +23,6 @@ nmap <F1> :echo<CR>
imap <F1> <C-o>:echo<CR>
map <F1> :execute 'NERDTreeToggle'<CR>
+" auto headers
autocmd bufnewfile *.py so ~/etc/vim/header_python
autocmd bufnewfile *.html so ~/etc/vim/header_html