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 keybindings #454

Open
karthink opened this issue Apr 21, 2021 · 7 comments
Open

Custom keybindings #454

karthink opened this issue Apr 21, 2021 · 7 comments
Labels
feature Requests for a new feature.

Comments

@karthink
Copy link

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).

@karthink karthink added the feature Requests for a new feature. label Apr 21, 2021
@ClementTsang
Copy link
Owner

ClementTsang commented Apr 21, 2021

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
Copy link

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
Copy link

aless3 commented Jan 24, 2024

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
Copy link

b1nhack commented May 27, 2024

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
Copy link

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.

@aless3
Copy link

aless3 commented Aug 2, 2024

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.

can you explain how? what is the option to clean the default bindings? how can I set up new ones? I can't find anything on the configuration file docs

@ClementTsang
Copy link
Owner

No option to do so atm, that's what this issue is for.

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

No branches or pull requests

6 participants