diff --git a/configs/.vimrc b/configs/.vimrc index a6f78c83f..c65fcfaee 100644 --- a/configs/.vimrc +++ b/configs/.vimrc @@ -125,6 +125,10 @@ nnoremap zk zc let mapleader = " " +" Switch to MRU'd buffer +nnoremap + + " Supports mouse interaction. set mouse=a @@ -178,7 +182,10 @@ nnoremap h h nnoremap j j nnoremap k k nnoremap l l -nnoremap q q + + +" Delete (i.e. "close") the currently opened buffer +nnoremap q :bdelete " Fuzzy-find open buffer via CtrlP @@ -375,13 +382,13 @@ nnoremap v8 :resize 40 " NERDTree settings " Show hidden files by default. (Toggle with capital 'i') -let NERDTreeShowHidden=1 +let NERDTreeShowHidden = 1 " View Directory tree with ctrl + n -nnoremap :NERDTreeToggle +nnoremap n :NERDTreeToggle " View open buffer location in tree. -nnoremap :NERDTreeFind +nnoremap f :NERDTreeFind " Jump to the top / bottom of the Viewport