diff options
Diffstat (limited to '.vim/vimrc')
-rw-r--r-- | .vim/vimrc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.vim/vimrc b/.vim/vimrc new file mode 100644 index 0000000..fd2c8e0 --- /dev/null +++ b/.vim/vimrc @@ -0,0 +1,35 @@ +set nocompatible + +"Search in all of the project tree +set path+=** +set wildmenu + +"??let mapleader = "," +execute pathogen#infect() +syntax on +filetype plugin indent on + +"Autostart NERDtree +autocmd vimenter * NERDTree + +"Switch windows with keys +nmap <silent> <C-k> :wincmd k<CR> +nmap <silent> <C-j> :wincmd j<CR> +nmap <silent> <C-h> :wincmd h<CR> +nmap <silent> <C-l> :wincmd l<CR> + +nmap <F5> :NERDTreeToggle<CR> +nmap <F6> :TlistToggle<CR> + +"Tab mgmt +nmap <F1> :tabclose<CR> +nmap <F2> :tabprevious<CR> +nmap <F3> :tabnext<CR> +nmap <F4> :tabnew<CR> + +"^] Jump to tag, ^t jump back +command! MakeTags !ctags -R . + +"Line number Highlight +set nu +highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE |