My I3-Emacs Integration
4 hours ago
- #Emacs
- #i3
- #Keybindings
- Author attempted to unify keybindings between Emacs and i3 window manager.
- Initial approach using xdotool and emacsclient introduced latency, leading to patching i3 for direct key passthrough.
- Patch modifies i3's Binding struct to include a passthrough class for targeted windows, allowing key events to be forwarded.
- Emacs uses elisp functions to handle window movements and terminal launches, integrating with i3 via i3-msg commands.
- Custom scripts for launching terminals (mistty and alacritty) ensure seamless operation across both environments.
- Result is improved ergonomics and reduced latency, enhancing the synergy between Emacs and i3.