4 ms·
For me, it's Emacs keybindings everywhere. Well really readline commands. I don't use super heavily (mainly just C-a, C-b, C-e, C-p, and C-n) Every computer I
by max182 3y ago
For me, it's Emacs keybindings everywhere. Well really readline commands. I don't use super heavily (mainly just C-a, C-b, C-e, C-p, and C-n)
Every computer I use, I remap control to caps lock. On my work Mac, nothing really changes since these commands work globally.
On my home PC, I run stock Ubuntu and use gnome-tweaks to set emacs commands.
These commands are so ingrained on how I edit text, I feel extremely uncomfortable without them. The deal breaker when using a new desktop environment or Windows, is whether I can get this setup up and running.
Does anyone have any hacks for supporting Readline out of Gnome or MacOS?
- tra3 3y agoI somehow ended up with evil in emacs, but emacs bindings everywhere else. Makes no sense now that I think about it.
- kps 3y agoI'm not an Emacs or GNOME user, but how does it work when Ctrl-A means start-of-line in Emacs and select-all in GNOME?
- anthk 3y agorlwrap command_with_no_readline_support. For instance, rlwrap tclsh
- __mharrison__ 3y agoI made emacs bindings for my video editor (Da Vinci Resolve)... Muscle memory makes you do weird things. The emacs bindings for Mac are too limited. After using emacs everywhere on Windows (with autohotkeys), I found going back to Mac quite limiting. Ended up using some hammerspoon to address done of the faults.
- ngai_aku 3y ago> The emacs bindings for Mac are too limited Curious, where do you find them lacking? AFAIK they’re present in all cocoa apps. Are there other apps where you wish they were supported, or is it that you wish for more bindings besides the mentioned C-a, C-e, etc?
- __mharrison__ 3y agoYes mainly, I want meta-a and friends.
- drbaba 3y agoFor me, the lack of incremental search with C-s/C-r is the big one — would love to jump around inside any text field using C-s pattern C-s C-s … CR (especially ergonomic if you use Caps as Ctrl). That’s a bit different than navigating with Cmd-F, which in most apps is (i) not incremental and (ii) often throws the cursor out of the text field. It is also worth noting that macOS also uses Cmd+Opt as its Meta key (so Cmd-Opt-F and Cmd-Opt-B are the word-wise motions).
- ngai_aku 3y agoMakes sense. I think it’s possible to add customizations that might accomplish your goal. Check out this guide to customizing the cocoa text system https://web.archive.org/web/20220123004610/https://www.hcs.harvard.edu/~jrus/site/cocoa-text.html https://web.archive.org/web/20220123004610/https://www.hcs.h...