Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add i to enter and o to exit dir #128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ericd23
Copy link

@ericd23 ericd23 commented Feb 25, 2024

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.

@antonmedv
Copy link
Owner

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

@ericd23
Copy link
Author

ericd23 commented Feb 25, 2024

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.

@tuzu128
Copy link
Contributor

tuzu128 commented Mar 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants