all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Delete (kill) entire line at cursor - how?
@ 2007-03-06  7:22 cmr.Pent
  2007-03-06  8:34 ` Matthew Flaschen
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: cmr.Pent @ 2007-03-06  7:22 UTC (permalink / raw)
  To: help-gnu-emacs

I've been a Windows user for years, but recently I began to feel that
my usual work (mostly R scripts and scientific articles) could be done
much more efficiently in text-oriented environment, which Linux is. So
I've installed Linux and tried some editors like Kate, but they didn't
suit my needs 100% (for example, I don't know how to switch between
text file and console using keyboard, keeping console open; plus Kate
loads like ages). Now I'm studying Emacs.

Well, Emacs has this kewl psychotherapist and Conway's life built in,
but from the tutorial I got impression it lacks a very simple but
extremely useful feature. It says that to delete line at cursor I must
hit C-a C-k C-k, while for examle mcedit (and many Windows progs I'm
used to) have a C-y shortcut for such operation. Furthermore, when I
hit C-y in mcedit, the cursor stays at the same position, but the
technique the official Emacs tutorial suggests means that your cursor
will go to the start of the line - not very handy for me.

I believe the Emacs is powerful enough to emulate such a feature, so
please, Emacs gurus, point me out how to create a _simple_ shortcut
(like C-y) which would kill line at cursor not moving the cursor
itself.

Pent

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2007-03-27 10:46 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-06  7:22 Delete (kill) entire line at cursor - how? cmr.Pent
2007-03-06  8:34 ` Matthew Flaschen
2007-03-06  9:30 ` thorne
2007-03-06  9:28   ` cmr.Pent
2007-03-06 13:01   ` Johan Bockgård
2007-03-06 20:45     ` thorne
     [not found] ` <mailman.505.1173170070.7795.help-gnu-emacs@gnu.org>
2007-03-06 16:58   ` cmr.Pent
2007-03-06 21:00     ` Giorgos Keramidas
2007-03-06 23:05     ` Matthew Flaschen
2007-03-07  6:35     ` Dave Benjamin
2007-03-07  7:29       ` Matthew Flaschen
     [not found]       ` <mailman.573.1173252572.7795.help-gnu-emacs@gnu.org>
2007-03-07 10:13         ` cmr.Pent
2007-03-07 11:28           ` Matthew Flaschen
2007-03-14 16:38           ` anoop aryal
2007-03-23  1:29             ` Matthew Flaschen
2007-03-23  2:43               ` David Hansen
2007-03-23  3:11                 ` Matthew Flaschen
2007-03-26 15:07                   ` anoop aryal
2007-03-27  3:09                     ` Matthew Flaschen
     [not found]                     ` <mailman.1478.1174965095.7795.help-gnu-emacs@gnu.org>
2007-03-27  9:54                       ` Giorgos Keramidas
2007-03-27 10:46                         ` Matthew Flaschen
     [not found]               ` <mailman.1286.1174618530.7795.help-gnu-emacs@gnu.org>
2007-03-26 21:55                 ` Mathias Dahl
2007-03-26 22:48                   ` anoop aryal

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.