Switch between multiple sets of bindings
See original GitHub issueIt would be great to support binding modes in my textual apps. Similar to command mode and edit mode in vim I’d like to be able to switch out different sets of bindings.
I see I can have different bindings associated with different screens but I’d like to be able to change between binding sets within one screen.
I tried updating the BINDINGS
constant within an action with a new set of bindings but it didn’t seem to have any effect (and modifying a constant feels icky).
Issue Analytics
- State:
- Created 10 months ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Switching Bindings vs Having Two Sets?? : r/snowboarding
I'm gonna have a two boards next season. At first I was thinking switching my bindings (burton bindings going on to a capita...
Read more >Those of you with multiple boards: How many sets of bindings ...
The idea of switching bindings around is a nightmare to me. It blows my mind people are willing to swap bindings during the...
Read more >How To Set Up Your Snowboard Bindings - YouTube
Everything you need to know about Regular vs. Goofy, stance, binding angles and inserts.***Since the magazine first started in 1995, ...
Read more >How to Set Up Your Snowboarding Bindings With Danny Kass
FunDuhMentals: How to set up your snowboard bindings with Danny KassYour stance on a snowboard should be about shoulder width, ...
Read more >Switch two key bindings for every mode in Emacs? - Super User
I want to make it so that regardless of mode, for example, C-t will do what C-x is supposed to do, and vice...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok that makes sense. In that case I have two widgets that I want different (overlapping) bindings on. If neither of them is in focus I want one of them to be kept in focus. I.e none of the other widgets should be focusable. Do you have thoughts on a “correct” way to do that?
Oh interesting I didn’t realise you could add bindings to widgets! So would you have different bindings when different widgets are in focus?
I have about 8 widgets on my screen, but I only want two of them to be focusable, and one or other should always be in focus. Right now to achieve this I’m not using focus and doing things manually, but I can definitely change that.