Comment by phantasmish
Comment by phantasmish a day ago
Can AI vibe code a way to get a macOS keyboard layout, basic shortcuts, and macOS-style emacs navigation in gui text boxes across the OS, on Linux? Last I checked all of that is pretty much impossible to achieve without accepting a ton of jank and some parts of the system where it doesn’t work (even the keyboard layout thing!)
Yeah you can, there's packages like xremap and input-remapper where you can define custom keyboard re-mappings. To replicate the Emacs key bindings from macOS, you can bind Ctrl+F to right arrow, Ctrl+E to End, etc. I even re-binded Cmd+C to Ctrl+C so I didn't lose any muscle memory from years of macOS shortcuts. Obviously requires some upfront time but once you get it working it works very well in my experience (and the keyboard re-mappings work at the input event level, so it works across all applications automatically).