3 ms·
with "emacs" OP refers to an OSX feature where every text field / input box in every app / dialog of the system supports the basic emacs bindings. So whether yo
by terhechte 12y ago
with "emacs" OP refers to an OSX feature where every text field / input box in every app / dialog of the system supports the basic emacs bindings. So whether you're in Safari, Chrome, Numbers, Office, TextEdit, Photodesk, or any other app, the basic emacs movements commands always work (apparently the original NeXT hackers were big emacs fans).
I'm running various Linux distributions in a VM from time to time, and this is something I really miss. I'm not sure if Elementary OS maybe has this though, never tested it.
- zurn 12y agogsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" Yeah, the fact that there isn't UI for this basic pref says a lot about the relationship between desktop environments and "power users"... (source: http://askubuntu.com/questions/181532/emacs-keybindings-in-ubuntu-12-04 http://askubuntu.com/questions/181532/emacs-keybindings-in-u...)
- 0942v8653 12y agoI just tried that in Elementary and it doesn't work :( I'm sure I'll find a way, but I'm starting to realize that the Cocoa Text System is pretty great compared to what other OSes have.
- tomjakubowski 12y agoWhat didn't work about it? I have this in my .gtkrc-2.0: gtk-key-theme-name="Emacs" And this in ~/.config/gtk-3.0/settings.ini: [Settings] gtk-key-theme-name = Emacs If those settings appear in both places, after restarting a GTK+ application the bindings should just work. They actually work better than in OS X because you're free to use the Alt/Meta shortcuts to skip words without reaching for the cursor keys. There are a couple of GTK+ applications that annoyingly override the shortcuts, like Pidgin for example (which binds C-w to "close window").