I have done something similar but only in vim: us_layout in normal mode and it would always keep track of what was the last layout used in insert mode, and would just set it back while entering insert mode. That has been more than enough for me because anything that span more than a couple of line I would end up editing anyway, so why not write into vim?
Can't help with your problem, but I am currently giving Sway-wm a try and found this:
By default, if you are using more than one keyboard layout, e.g. input * xkb_layout "us,ru"
, bindings may become broken when you switch on some secondary layout.
This solution sounds way more elegant to me than the hacks I've been doing to keep my keybinds work across multiple keyboard layouts. Maybe there's something similar with sxhkd? Good luck with your issue.
:O !
Had never used the mouse for that before, but it actually works pretty well. Thanks!
I have done something similar but only in vim: us_layout in normal mode and it would always keep track of what was the last layout used in insert mode, and would just set it back while entering insert mode. That has been more than enough for me because anything that span more than a couple of line I would end up editing anyway, so why not write into vim?
Can't help with your problem, but I am currently giving Sway-wm a try and found this:
This solution sounds way more elegant to me than the hacks I've been doing to keep my keybinds work across multiple keyboard layouts. Maybe there's something similar with sxhkd? Good luck with your issue.
End of this list.
Back to top