bluetuith icon indicating copy to clipboard operation
bluetuith copied to clipboard

FEATURE REQUEST: Add vimkeys for navigating up/down

Open LordZeuss opened this issue 1 year ago • 2 comments

Hello! I was wondering if it would be possible to add J & K as keys to move up and down in the TUI besides the arrow keys, since those keys are currently not in use. I found the keybindings file, and might make a PR myself, but if the maintainer is able to implement this, that would be easier. Just a thought!

LordZeuss avatar May 23 '24 13:05 LordZeuss

I'd like to prop this up!

I was able to achieve vim-like scrolling with this config:

{
  adapter: ""
  adapter-states: ""
  connect-bdaddr: ""
  gsm-apn: ""
  gsm-number: ""
  keybindings: {
    NavigateDown: j
    NavigateUp: k
  }
  receive-dir: ""
  theme: {}
}

But it would be very cool to see it enabled by default, because these keys don't even carry any bindings at the moment and a substantial number of terminal users are really used to vim-like navigation.

@darkhz Thanks for this cool project, by the way. Really like it! All these stupid bluemans and bluedevils are so inconvenient, slow and buggy compared to your program...

txgk avatar May 31 '24 09:05 txgk

I will consider adding alternate vim like keybindings, of course. Meanwhile, thanks for posting the config.

darkhz avatar May 31 '24 10:05 darkhz