walk icon indicating copy to clipboard operation
walk copied to clipboard

add `i` to enter and `o` to exit dir

Open ericd23 opened this issue 1 year ago • 3 comments

While navigating directories using the hjkl, Enter and Backspace is relatively distant. I added alternative keybindings: i for entering a directory ("in") and o for exiting a directory ("out"), which are closer to the hjkl and easy to remember.

ericd23 avatar Feb 25 '24 06:02 ericd23

Nice idea. What i & o used in vim and emacs usually for?

antonmedv avatar Feb 25 '24 13:02 antonmedv

In Vim, i is for entering "insert" mode. o creates an empty line under cursor and enters "insert" mode. In Emacs, i and o insert the actual letters.

I was also thinking something like n (next) for entering and p (previous) for exiting, which is also quite ergonomic.

ericd23 avatar Feb 25 '24 16:02 ericd23

I would change it from i and o to h and l.

tuzu128 avatar Mar 07 '24 06:03 tuzu128