hunter icon indicating copy to clipboard operation
hunter copied to clipboard

Feat: keybinding sequences

Open Macavirus opened this issue 5 years ago • 2 comments

Feature request while you're working out custom key bindings:

Would it be possible to do key "arpeggios" as per ranger? Ideally would support more than one in-between state.

Use case: I often find it useful to do multiple types of file sorting that dont' really deserve top-level keybindings. For instance, in ranger I may use o s to sort by size, o c to sort by ctime, o t to sort by type. Fitting all of these under one generic sort keybinding is very useful.

Also for inspiration, emacs hydra mode: https://github.com/abo-abo/hydra

Macavirus avatar Aug 15 '19 08:08 Macavirus

Yes, I've been thinking about adding some kind of (persistent?) macro recording and key layering system. Currently working on fixing the most glaring issues before I add yet more features, but it'll come.

rabite0 avatar Jan 22 '20 02:01 rabite0

:+1: Looking forward to it. Thanks for hunter, it is really promising!

Macavirus avatar Jan 22 '20 03:01 Macavirus