darkhz / bluetuith

A TUI bluetooth manager for Linux.
MIT License
914 stars 24 forks source link

[FEAT] Supporting Vim style navigation and keymap #51

Closed Krr0ptioN closed 8 months ago

Krr0ptioN commented 8 months ago

Description

Vim style navigation is broadly considered something as general feature for most of TUI application. The existing conventional navigation do not conflict with Vim navigation. So why not?

NOTE: I am guessing the maintainer is not a fan of Vim, so that's why the description might seem like a sales pitch :)

darkhz commented 8 months ago

Take a look at #31 for implementing basic vim-like navigation. Is there other vim-like navigation features you would want to suggest?

Krr0ptioN commented 8 months ago

I didn't see that and actually I was about to PR some changes, although it seems like no issue is left to solve. Repeatable navigational commands could be interesting, e.g. 3j three times navigate to down.

Good project though, thanks.

darkhz commented 8 months ago

I will consider implementing this feature.

kohane27 commented 7 months ago

Thanks for adding support for vim-like navigation! I'm just happy with the following:

keybindings {
    NavigateUp: 'k'
    NavigateDown: 'j'
    NavigateRight: 'l'
    NavigateLeft: 'h'
}

Thank you and have a good day!