My I3-Emacs Integration
The article discusses the author's experience integrating Emacs with the i3 window manager. They attempted to create a common set of keybindings but faced latency issues with their initial solution. Ultimately, the author decided to patch i3 to allow keypress events to pass through to Emacs when it is the focused window.
- ▪The author initially tried using a script with xdotool and emacsclient but encountered latency issues.
- ▪They decided to patch i3 to allow keypress events to be passed to Emacs when it is the active window.
- ▪The feature to check the focused window for Emacs has been previously requested but deemed out of scope by i3 maintainers.
Opening excerpt (first ~120 words) tap to expand
tiling window managers are wonderful. ultra-flexible text editors are also wonderful. for a spell, i thought i'd found the ideal solution in exwm… and i think it would have been, save for the fact that i use ordinary, graphical windows as much, if not more than, text buffers, and sometimes those windows are from dodgy programs (e.g., steam) that have trouble with EXWM's fancy input methods. but i still like emacs a lot. hell, it switches light and dark mode on my machine (still)! so, inspired by such posts as \(\sqrt{-1}\)'s, i set out to get a common set of keybindings between emacs and i3, along with some sane defaults around opening terminals, splitting windows, etc.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Khz.