Email or username:

Password:

Forgot your password?
Andrew Tropin

Maybe I'm going a bit too far with with "usual" text editing keybindings for Emacs, but I finally have some consistency between emacs and the rest of the places, where I type text (including other text editors).

git.sr.ht/~abcdw/rde/commit/e5

#emacs

5 comments
Fd9a :emacs: :guix:

@abcdw I try to adapt everything to the default bindings of Emacs as much as possible

Andrew Tropin

@fd9a Tried to implement this with xremap, partially works, but I think than Emacs default bindings is ok, but not that good to force them everywhere. Also, it additionally and unecessary locks you in with very specific set of tools, which can be harmful long-term.

Omar Antolín

@abcdw I have consistency in key bindings for text editing too, but by a different mechanism! I just do most of my typing in Emacs and then paste wherever I need to. 🙃 For very short texts, mostly single-line, where I'm betting I only need to type and maybe delete a couple of characters to fix a typo, I might brave a text field, but anything longer than that I type in Emacs. Even if I made key bindings for copy, cut, paste and search consistent, I'd still screw up in text fields outside Emacs, because I have muscle-memory for transposing characters, words, sentences and paragraphs; for changing case; for moving over or deleting an entire sentence, paragraph or parenthesized remark; and I expect the "clipboard" to hold several items. I consider all of those basic and it seems like the easiest way to have them available everywhere is to just type in Emacs.

I typed this in Emacs, of course!

@abcdw I have consistency in key bindings for text editing too, but by a different mechanism! I just do most of my typing in Emacs and then paste wherever I need to. 🙃 For very short texts, mostly single-line, where I'm betting I only need to type and maybe delete a couple of characters to fix a typo, I might brave a text field, but anything longer than that I type in Emacs. Even if I made key bindings for copy, cut, paste and search consistent, I'd still screw up in text fields outside Emacs, because...

shtwzrd@mas.to:~$:idle:

@abcdw I like your added smartparens bindings and how you're handling undo.

I've been thinking of setting up a 'normal keybindings' Emacs config, to toggle on when I want to share my laptop. Definitely borrowing some of this. Thanks for sharing.

Andrew Tropin

@shtwzrd I put arrows into layer near home row, so I can get rid of quite wide spread ctrl/alt+n/p/f/b.

Go Up