all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: kill from point to beginning of line?
Date: Thu, 9 Sep 2004 09:12:18 -0700	[thread overview]
Message-ID: <FDELKNEBLPKKDCEBEJCBMEFHCHAA.drew.adams@oracle.com> (raw)
In-Reply-To: <FDELKNEBLPKKDCEBEJCBIEFHCHAA.drew.adams@oracle.com>

I forgot to add: If you're using this to delete stuff in the minibuffer,
C-M-backspace (command backward-kill-sexp) is also handy. It doesn't always
delete to the line beginning, but it is very quick and quick to repeat.


-----Original Message-----
Yes. And, since C-0 and M-0 act as 0, you can keep the M- or C- modifier key
pressed to do the equivalent of C-u 0 C-k quicker in either of these ways:

C-u C-0 C-k (just keep C- pressed and hit u, 0, k

M-- M-0 C-k (keep M- pressed and hit -, 0; then hit k)


In this case, the C-u C-0 trick is handier, because you need to press C- for
C-k anyway. The M-- M-0 trick is more useful for M- key sequences.


-----Original Message-----
I think the correct answer is: C-u 0 C-k

  reply	other threads:[~2004-09-09 16:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-09 14:03 kill from point to beginning of line? Al Oomens
2004-09-09 14:50 ` Miguel Frasson
2004-09-09 15:04   ` emacs Fan
2004-09-09 16:08     ` Drew Adams
2004-09-09 16:12       ` Drew Adams [this message]
2004-09-26 11:52       ` Kai Grossjohann

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

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

  git send-email \
    --in-reply-to=FDELKNEBLPKKDCEBEJCBMEFHCHAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.