imsnif / diskonaut

Terminal disk space navigator 🔭
MIT License
2.49k stars 66 forks source link

Feature: emacs keys #36

Closed ebroto closed 4 years ago

ebroto commented 4 years ago

It would be nice if diskonaut supported emacs keys for navigation.

Those keys would be: left -> Ctrl + b right -> Ctrl + f up -> Ctrl + p down -> Ctrl + n

I think it's not necessary to show that those are supported in the legend as they are kinda common in TUIs and assumed to "just work" because of being supported by GNU Readline.

imsnif commented 4 years ago

Thanks for pointing that out! As an eVIl user myself, I was actually not aware of them. Let's add them, definitely. I think part of this fix would be to change navigation part of the legend to this:

< ← ↓ ↑ → > - move around

Then have all arrows/vim/emacs/etc. keys work. What do you think?

ebroto commented 4 years ago

Works for me! :+1: