diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-04-04 16:20:15 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-04-04 16:20:15 +0200 |
commit | 11fd28378c9cfed68b44c3ccd6b35a738e3d26ef (patch) | |
tree | 09baf0e37ebc08bc52809285af0f31e1f79a30c4 | |
parent | 4e4be3805c6db25d4ec86aea3b6b105ee065f9b2 (diff) | |
download | dotfiles-11fd28378c9cfed68b44c3ccd6b35a738e3d26ef.tar.gz |
Added shortcuts
-rw-r--r-- | vimrc | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -2,3 +2,25 @@ 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 |