aboutsummaryrefslogtreecommitdiff
path: root/vimrc
blob: f90682ee94e03d3b811cf24dd43c6e7d2014ab9b (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
let mapleader = ","
execute pathogen#infect()
syntax on
filetype plugin indent on

"Autostart NERDtree
autocmd vimenter * NERDTree

"Switch windows with Alt+Arrow keys
nmap <silent> <A-Up> :wincmd k<CR>
nmap <silent> <A-Down> :wincmd j<CR>
nmap <silent> <A-Left> :wincmd h<CR>
nmap <silent> <A-Right> :wincmd l<CR>

nmap <F5> :NERDTree<CR>
nmap <F6> :TlistToggle<CR>

"Tab mgmt
nmap <F1> :tabclose<CR>
nmap <F2> :tabprevious<CR>
nmap <F3> :tabnext<CR>
nmap <F4> :tabnew<CR>

"Line number Highlight
set nu
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE