Skip to content

u/lsrdg

In this archive from Sep 2019 to Oct 2019

0
posts
2
comments
0
media
3
score

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.

Thanks to https://github.com/swaywm/sway/pull/3058, all you need is to add `--to-code`
key to sensitive bindsym
lines

​

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.

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.