[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: copy-line
From: |
rfflrccrd |
Subject: |
Re: copy-line |
Date: |
Wed, 25 Jul 2012 05:31:13 -0700 (PDT) |
User-agent: |
G2/1.0 |
Comparing Vi/Vim to other editors is not fair ;-)
Vanilla Emacs has no way to copy text that has not been marked. Thus, to copy
a line, you have to mark it first. The complete sequence is:
C-a C-Space C-e M-w
In alternative, you can kill a line and yank it back at once:
C-S-Backspace C-k
Unlike Vi, the line will be copied/killed without its new line. I don't know
whether such behaviour is customizable.
Cheers.
Re: copy-line (& default keychord), Andreas Röhler, 2012/07/25