summaryrefslogtreecommitdiffstats
path: root/vim/vimrc
blob: c005addc8c50de32ff743db3ad57fee92edc8245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
syntax on
colorscheme slate
filetype plugin indent on

set laststatus=2
set number
set noerrorbells
set autoindent
set tabstop=8
set shiftround
set modeline
set nobackup
set cursorline
set listchars=tab:»·
set list

let g:NERDTreeQuitOnOpen = 1
let g:NERDChristmasTree = 1
let g:NERDTreeStatusline = 1
let g:NERDTreeWinPos = 2

nmap <F1> :echo<CR>
imap <F1> <C-o>:echo<CR>
map <F1> :execute 'NERDTreeToggle'<CR>

autocmd bufnewfile *.py so ~/etc/vim/header_python
autocmd bufnewfile *.html so ~/etc/vim/header_html