dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 00cf685107f59ba10ab1aa5fc7039a94809e4806 (patch)
parent fe12003629a9a87105ded2da2bd83ab9d2f32777
Author: Alexander Karle <akarle@umass.edu>
Date:   Fri, 30 Nov 2018 23:05:35 -0500

vim: Add mapping for quick directory exploring

Diffstat:
Mvim/vimrc | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -239,6 +239,9 @@ nnoremap <leader>D :set background=dark<CR> " toggle color column (to ensure short lines) nnoremap <expr> <leader>C ToggleColorColumn() +" Quick open current directory of file being edited +nnoremap <leader>d :e %:h/<CR> + " easier tab switching (good for use w terminal wher gt doesn't work) nnoremap <C-w>t :tabnext<CR>