diff options
author | Stefan Ritter <xeno@thehappy.de> | 2009-11-27 01:27:43 +0100 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2009-11-27 01:27:43 +0100 |
commit | 281c8f147237ce74a09dc08944b671cefdf47f52 (patch) | |
tree | 5f107e0568c1e79c05119dca0c644ae10090dc26 /vim | |
parent | 55de9381126e877eb54bcd06673e835e35e11c7d (diff) |
Made vimrc more beautiful
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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 |