unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Johan Myréen" <johan.myreen@gmail.com>
To: emacs-devel@gnu.org
Subject: C-o (was: Proposal: new default bindings for winner and windmove)
Date: Wed, 3 Jul 2024 22:32:29 +0300	[thread overview]
Message-ID: <CA+TD5hjLFDyuskJYH4rUqqnezAMDtFv16SYN98Wd5CFLQmtkSg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

>
> I can see someone doing C-o foo bar but I don't see the benefit compared
> to foo bar RET


The benefit is that C-o opens a new blank line to type on, instead of
prepending what you are writing to the pre-existing text on the line, which
I find very distracting. Also, I might want to do a quick edit to what I
have typed so far (maybe to fix a typo before I forget it's there), and
then return to add new text to the line. If I open a new blank line with
C-o, I just type C-e to continue typing, but if the line is still stringed
together with the old line, then finding the correct point is a pita.

Note that the vi editor also has not only one, but two "open line" commands
"o" and "O", for opening a line below and above the current line,
respectively.

[-- Attachment #2: Type: text/html, Size: 1018 bytes --]

             reply	other threads:[~2024-07-03 19:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-03 19:32 Johan Myréen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-21 19:10 Proposal: new default bindings for winner and windmove Daniel Colascione
2021-08-22 17:52 ` Stefan Monnier
2024-06-21 19:03   ` Stefan Monnier
2024-06-21 20:39     ` Stefan Kangas
2024-06-26 15:48       ` Stefan Monnier
2024-07-01  1:29         ` Stefan Kangas
2024-07-01 10:07           ` Alan Mackenzie
2024-07-01 11:25             ` Dmitry Gutov
2024-07-01 21:24               ` Alan Mackenzie
2024-07-01 22:07                 ` Daniel Colascione
2024-07-02  1:00                   ` Po Lu
2024-07-02  3:26                     ` C-o (was: Proposal: new default bindings for winner and windmove) Stefan Monnier
2024-07-02 22:31                       ` Stefan Kangas
2024-07-03 10:07                       ` Per Starbäck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+TD5hjLFDyuskJYH4rUqqnezAMDtFv16SYN98Wd5CFLQmtkSg@mail.gmail.com \
    --to=johan.myreen@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).