ClementTsang / bottom

Yet another cross-platform graphical process/system monitor.
https://clementtsang.github.io/bottom/
MIT License
9.34k stars 220 forks source link

Custom keybindings #454

Open karthink opened 3 years ago

karthink commented 3 years ago

Describe the feature request

Would you consider adding the ability for the user to customize keybindings in the toml file?

Additional context/details

Bottom is an awesome process monitor, but I have trouble remembering some of the keybindings because they're very different from what I'm used to in other contexts. I typically end up having to try a few things before finding the right one. Examples: I would like to freeze/pause the display with space instead of f (like pausing a video) and maximize a widget with f instead of e (like making a video player display fullscreen).

ClementTsang commented 3 years ago

Would definitely be an interesting idea, though I would probably want to first add in-app configuration (something I've been wanting to add for months now...) to make something like this more user-friendly to do.

crabdancing commented 1 year ago

I was just about to request this, and saw it here. Please make it a reality! In my case, my system uses Ctrl+q instead of Ctrl+c, but bottom is still hardcoded to use Ctrl+c.

aless3 commented 5 months ago

I use a non-qwerty keyboard layout, the vim keybindings for example are not usable (I have the hjlk keys not grouped and basically in random places, it's even more weird than using the arrow keys). This would be extremely useful to me, and I think I am not the only one finding it difficult to use the bindings with other layouts. Not that is excludes me from using the software, it is already amazing, just pointing that probably people who use other layouts would welcome this to not search their keyboard for where the qwerty equivalent key is.

A.

b1nhack commented 1 month ago

A set of key bindings exists by default, which can be overridden in the configuration file. There is an option to disable all default keybindings, so that users can keep clean keybindings in the configuration file. kitty and many neovim plugins use this solution.

zerdox-scalr commented 3 weeks ago

I am using colemak layout and would like to move around widgets with neio (qwerty: jkl;) as in my vim config. Current bindings for colemak user are not so comfortable in bottom.