darrenburns / posting

The modern API client that lives in your terminal.
Apache License 2.0
4.92k stars 73 forks source link

Make keybindings configurable #95

Open diegodorado opened 2 months ago

diegodorado commented 2 months ago

I know this might be a big ask, but my current issue is that a few useful keybindings like C-j and C-o in my case are already in use by my wezterm configuration. While I could replace C-o with something else, C-j is what I use for pane navigation, and I can see how others using tmux-navigation or a zellij variation can suffer from this same problem.

To simplify the initial title, making C-j configurable would be enough to avoid commonly used terminal multiplexer navigation

Lovely tool by the way!

diegodorado commented 2 months ago

Oh, well... I also have C-s as my prefix, so that one is also colliding

darrenburns commented 2 months ago

Keys clashing with multiplexers and having no way around it really isn't great. I think I'll pull this near the top of the roadmap.

diegodorado commented 2 months ago

That is great, thanks! lmk if I can be of any help

darrenburns commented 2 months ago

I think we're planning to add this to the underlying framework (Textual) itself, so hopefully within the next couple of months it'll find its way into Posting.

seapagan commented 2 months ago

Oh, well... I also have C-s as my prefix, so that one is also colliding

This is my issue too, Ctrl-S is a very common redefinition of the prefix key for Tmux users.