News for hackers. Stuff that matters.
Re:Vim Keybindings Everywhere – The Ultimate List by max182 on Thursday May 04, 2023 @02:51PM (#35820328)
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?

Re:Vim Keybindings Everywhere – The Ultimate List by tra3 on Thursday May 04, 2023 @03:11PM (#35820619)
I somehow ended up with evil in emacs, but emacs bindings everywhere else. Makes no sense now that I think about it.
Re:Vim Keybindings Everywhere – The Ultimate List by kps on Thursday May 04, 2023 @04:05PM (#35821329)
I'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?
Re:Vim Keybindings Everywhere – The Ultimate List by anthk on Thursday May 04, 2023 @05:15PM (#35822181)
rlwrap command_with_no_readline_support. For instance, rlwrap tclsh
Re:Vim Keybindings Everywhere – The Ultimate List by __mharrison__ on Thursday May 04, 2023 @11:06PM (#35824772)
I 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.

Re:Vim Keybindings Everywhere – The Ultimate List by ngai_aku on Friday May 05, 2023 @12:40AM (#35825289)
> 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?

Re:Vim Keybindings Everywhere – The Ultimate List by drbaba on Friday May 05, 2023 @05:30AM (#35827016)
For 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).

Re:Vim Keybindings Everywhere – The Ultimate List by ngai_aku on Saturday May 06, 2023 @06:55AM (#35840104)
Makes 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.h...

Re:Vim Keybindings Everywhere – The Ultimate List by __mharrison__ on Wednesday May 10, 2023 @08:51AM (#35886583)
Yes mainly, I want meta-a and friends.