bashtop icon indicating copy to clipboard operation
bashtop copied to clipboard

[REQUEST] support for vimkeys

Open Soneji opened this issue 5 years ago • 5 comments

Is your feature request related to a problem? Please describe. nope

Describe the solution you'd like Support for using vim keys to navigate in the UI (hjkl) like arrow keys

Describe alternatives you've considered I feel it wouldnt be too difficult to implement this

Soneji avatar Jun 19 '20 21:06 Soneji

The "h" key conflicts with the help shortcut. Could possibly add a toggle for vim keybindings if there is interest.

aristocratos avatar Jun 21 '20 12:06 aristocratos

k also conflicts with kill

Maybe we could have a vim normal mode, kind of like how the bash vim mode works. Always in insert mode by default and goes to normal mode where vimkeys can work by pressing escape

What do you think?

Soneji avatar Jun 21 '20 13:06 Soneji

what about using lower case for vim keybindings and upper case for bashtop's when vim mode is enabled ?

strikerlulu avatar Sep 04 '20 05:09 strikerlulu

Btw btop has this feature :)

https://github.com/aristocratos/btop/blob/c3eb02f27f69f2cd03d5ec9ddc8ce7dc8eda3de8/src/btop_config.cpp#L57

strikerlulu avatar Jun 03 '22 05:06 strikerlulu