From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rfflrccrd@gmail.com Newsgroups: gmane.emacs.help Subject: Re: copy-line Date: Wed, 25 Jul 2012 05:31:13 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2b0503d9-5345-42b3-ad05-0d7bc2aad7a1@googlegroups.com> References: <1341515294.71719.YahooMailNeo@web163106.mail.bf1.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1343219717 9082 80.91.229.3 (25 Jul 2012 12:35:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jul 2012 12:35:17 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" , Enda To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 25 14:35:17 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Su0o5-0002on-UR for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jul 2012 14:35:14 +0200 Original-Received: from localhost ([::1]:59456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Su0o5-0007c7-6j for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jul 2012 08:35:13 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 90.198.51.123 Original-X-Trace: posting.google.com 1343219584 4162 127.0.0.1 (25 Jul 2012 12:33:04 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 25 Jul 2012 12:33:04 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.198.51.123; posting-account=iscNFgoAAAANEah9YzNOOYVI-4RgnElR User-Agent: G2/1.0 Original-Xref: usenet.stanford.edu gnu.emacs.help:193653 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86028 Archived-At: 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.