all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Guido Van Hoecke <guivho@gmail.com>
To: Enda <enda_k2@yahoo.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: copy-line
Date: Wed, 25 Jul 2012 20:47:22 +0200	[thread overview]
Message-ID: <CAEySM9EkUSs9kbd1+KaaP7tccV-XM+oCDGsUM-NJk352sC2A0g@mail.gmail.com> (raw)
In-Reply-To: <1343146015.53752.YahooMailNeo@web163101.mail.bf1.yahoo.com>

On 24 July 2012 18:06, Enda <enda_k2@yahoo.com> wrote:
> Usedn't there be a copy-line in Emacs (which would copy the line). In Vi,
> copying a line is yy, what is the shortest way of copying a line in Emacs
> (without writing a lisp function in .emacs)? Should there be a default
> keystroke for copying a line?
>

You may want to look at
http://www.northbound-train.com/emacs/whole-line-or-region.el

Copies or kills with one keystroke, the default one :)

I found this via http://emacswiki.org/emacs/CopyingWholeLines
where you can find other suggestions.

I prefer the whole-line-or-region apprach.

HTH,


Guido

--
Good government never depends upon laws, but upon the personal qualities of
those who govern.  The machinery of government is always subordinate to the
will of those who administer that machinery.  The most important element of
government, therefore, is the method of choosing leaders.
		-- Frank Herbert, "Children of Dune"

http://vanhoecke.org ... and go2 places!



  parent reply	other threads:[~2012-07-25 18:47 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-05 19:08 copy-line (& default keychord) Enda
2012-07-24 16:06 ` copy-line Enda
2012-07-24 17:44   ` copy-line Bastien
2012-07-25 18:47   ` Guido Van Hoecke [this message]
     [not found] ` <mailman.5498.1343146029.855.help-gnu-emacs@gnu.org>
2012-07-25 12:31   ` copy-line rfflrccrd
2012-07-25 13:41     ` copy-line Dan Espen
2012-07-25 15:02       ` copy-line Raffaele Ricciardi
2012-07-25 15:06         ` copy-line Raffaele Ricciardi
2012-07-25 13:50     ` copy-line Raffaele Ricciardi
2012-07-25 18:01 ` copy-line (& default keychord) Andreas Röhler
  -- strict thread matches above, loose matches on Subject: below --
2009-01-31 18:26 copy-line Helmut Eller
2009-01-31 19:52 ` copy-line Plamen Tanovski
2009-02-01  1:18 ` copy-line Joe Fineman
2009-02-01  2:06 ` copy-line Samuel Wales
2009-02-01  2:09 ` copy-line Andy Stewart
     [not found] ` <mailman.6387.1233454226.26697.help-gnu-emacs@gnu.org>
2009-02-01  8:41   ` copy-line Helmut Eller
2009-02-01 10:17     ` copy-line Peter Dyballa
2009-02-01 10:13 ` copy-line Harald Hanche-Olsen
2009-02-01 11:45   ` copy-line Helmut Eller
2009-02-01 15:40     ` copy-line Harald Hanche-Olsen

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=CAEySM9EkUSs9kbd1+KaaP7tccV-XM+oCDGsUM-NJk352sC2A0g@mail.gmail.com \
    --to=guivho@gmail.com \
    --cc=enda_k2@yahoo.com \
    --cc=help-gnu-emacs@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 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.