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

Custom Key Bindings #60

Closed
tdehaeze opened this issue May 25, 2020 · 1 comment
Closed

Custom Key Bindings #60

tdehaeze opened this issue May 25, 2020 · 1 comment
Labels
feature Feature request or related

Comments

@tdehaeze
Copy link

Hi!

I think it would be very nice to allow the user to set its own custom key bindings.

I guess I could fork the project and build my own binary, but settings custom key bindings using a config file would be a very nice option.

Then, we could put on the readme, some example of keybindings for people using Vim or Emacs, for instance:

HELP = [Key("h")]
PRIORITY_UP = [Key("+")]
PRIORITY_DOWN = [Key("-")]
NEXT_SORT = [Key("n")]
PREVIOUS_SORT = [Key("p")]
REMOVE_ASK = [Key("d")]
TOGGLE_EXPAND_COLLAPSE = [Key("za")]
TOGGLE_EXPAND_COLLAPSE_ALL = [Key("zA")]
SEARCH = [Key("/")]
QUIT = [Key("q")]
MOVE_UP = [Key("k", Screen.KEY_UP)]
MOVE_DOWN = [Key("j", Screen.KEY_DOWN)]
MOVE_LEFT = [Key("h", Screen.KEY_LEFT)]
MOVE_RIGHT = [Key("l", Screen.KEY_RIGHT)]

Unfortunately, I don't have good python skills to implement that properly.

@tdehaeze tdehaeze added the feature Feature request or related label May 25, 2020
@pawamoy
Copy link
Owner

pawamoy commented May 25, 2020

Yes, this is something I would like to support in aria2p, unfortunately this require quite some work and I couldn't find the time yet 🙂

pawamoy added a commit to jonnieey/aria2p that referenced this issue Sep 4, 2020
@pawamoy pawamoy closed this as completed in 9d6b00f Sep 4, 2020
pawamoy added a commit that referenced this issue Sep 4, 2020
Fixes #60.
PR #62.

Co-authored-by: Timothée Mazzucotelli <pawamoy@pm.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request or related
Projects
None yet
Development

No branches or pull requests

2 participants