From a736a107dfd77c9a54f6df8781fa62df03bcff34 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 4 Jul 2019 10:33:16 +0200 Subject: [PATCH] Add keymappings to vifm: sync panes, hide dotfiles Set the current pane to the other pane with . Hide dotfiles with zc (zm still works) to mimic the vim behavior. --- .config/vifm/vifmrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index d74eeae..669a067 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -473,6 +473,13 @@ nnoremap te :execute ':tree! | echo ":tree"' nnoremap t nnoremap tt t +" Switch pane to same directory as opposite pane +nnoremap :cd %D + +" zo shows hidden files, mimicking fold open in vim -- why does zc not close +" again? +nnoremap zc zm + " }}} " " ------------------------------------------------------------------------------