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

Make keybindings configurable #95

Open
diegodorado opened this issue Aug 24, 2024 · 7 comments
Open

Make keybindings configurable #95

diegodorado opened this issue Aug 24, 2024 · 7 comments

Comments

@diegodorado
Copy link

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

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

@darrenburns
Copy link
Owner

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

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

@darrenburns
Copy link
Owner

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

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.

@vandaimer
Copy link

vandaimer commented Nov 10, 2024

Is this something already working, right?

https://posting.sh/guide/keymap/

@darrenburns
Copy link
Owner

darrenburns commented Nov 10, 2024

@vandaimer Yeah, it is (as of 2.0). However, it's not as extensive as I'd like it to be yet. Right now you can only rebind some of the "main" actions in the app, but I'd like pretty much everything to be bindable.

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

No branches or pull requests

4 participants