From 37dcbc595dc9f0cd809d2e401723900601b1aca7 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 2 Dec 2016 17:34:29 -0500 Subject: Remaps window-quit to buffer-quit; remaps NERDTree commands --- configs/.vimrc | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'configs') diff --git a/configs/.vimrc b/configs/.vimrc index a6f78c83f120..c65fcfaeecbb 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 -- cgit 1.4.1