diff options
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 |