Skip to content

Conversation

non
Copy link
Contributor

@non non commented Sep 29, 2023

This commit adds the following key bindings:

  • Ctrl + '_': undo
  • Ctrl + '<': beginning of document
  • Ctrl + '>': end of document

These are all standard Emacs key bindings.

This commit adds the following key bindings:

 - Ctrl + '_': undo
 - Ctrl + '<': beginning of document
 - Ctrl + '>': end of document

These are all standard Emacs key bindings.
@sogaiu
Copy link

sogaiu commented Sep 29, 2023

Interesting, I didn't know you could do Ctrl + '_' to undo. TIL :)

I've been using Ctrl + '/'. The former (with underscore) requires pressing the Shift key on the kinds of keyboards I've been using, while the latter does not. Perhaps that's different for other folks' environments.

I don't think the latter two (with the inequality symbols) are standard keybindings. Ctrl + '<' and Ctrl + '>' show up as unbound when I do emacs -q. Alt + '<' and Alt + '>' are standard though AFAIK [1].


[1] By Alt here I mean Meta -- I think for non-macos systems those are typically the same. Not sure how things are on macos.

@nesbox nesbox merged commit e80febc into nesbox:main Oct 8, 2023
@sogaiu
Copy link

sogaiu commented Oct 8, 2023

I think it would be better if there were some discussion about these keybindings...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants