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:
parent
942d7798e4
commit
a736a107df
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
" }}}
|
||||
"
|
||||
" ------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue