From 00cf685107f59ba10ab1aa5fc7039a94809e4806 Mon Sep 17 00:00:00 2001 From: Alexander Karle Date: Fri, 30 Nov 2018 23:05:35 -0500 Subject: [PATCH] vim: Add mapping for quick directory exploring --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index ed4c36b..ccc3cd5 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -239,6 +239,9 @@ nnoremap D :set background=dark " toggle color column (to ensure short lines) nnoremap C ToggleColorColumn() +" Quick open current directory of file being edited +nnoremap d :e %:h/ + " easier tab switching (good for use w terminal wher gt doesn't work) nnoremap t :tabnext -- libgit2 0.28.4