diff options
author | jonas <himself@jonasgunz.de> | 2019-04-28 16:25:40 +0200 |
---|---|---|
committer | jonas <himself@jonasgunz.de> | 2019-04-28 16:25:40 +0200 |
commit | b5cecd3f2daead59f41d9b2245567346ff50eef1 (patch) | |
tree | aa52a85058f3a6e418140e089751b42a1854da51 /.vim/vimrc | |
parent | dc63d192e7634b7d8d4b5b776dba62672e4287a5 (diff) | |
download | dotfiles-b5cecd3f2daead59f41d9b2245567346ff50eef1.tar.gz |
asdf
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 |