Add keymappings to vifm: sync panes, hide dotfiles

Set the current pane to the other pane with <c-y>. Hide dotfiles with zc
(zm still works) to mimic the vim behavior.
This commit is contained in:
Marty Oehme 2019-07-04 10:33:16 +02:00
parent 942d7798e4
commit a736a107df

View file

@ -473,6 +473,13 @@ nnoremap te :execute ':tree! | echo ":tree"'<cr>
nnoremap t <nop>
nnoremap tt t
" Switch pane to same directory as opposite pane
nnoremap <c-y> :cd %D<cr>
" zo shows hidden files, mimicking fold open in vim -- why does zc not close
" again?
nnoremap zc zm
" }}}
"
" ------------------------------------------------------------------------------