From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wen Weng Newsgroups: gmane.emacs.help Subject: Hard to switch from vi Date: Sun, 08 Oct 2006 19:32:01 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1160350850 6930 80.91.229.2 (8 Oct 2006 23:40:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Oct 2006 23:40:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 09 01:40:46 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GWiGD-0004X5-J3 for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Oct 2006 01:40:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWiGD-0004I2-1D for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Oct 2006 19:40:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!69.28.186.77.MISMATCH!hwmnpeer03.lga!hwmnpeer01.lga!news.highwinds-media.com!hw-filter.lga!newsfe05.lga.POSTED!53ab2750!not-for-mail User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-X-Trace: hikehalegljkcnnfkannfilpcpbbolnmfkeolelpnipoijfjlbfajommfadngcaamdocjpbbbfaaeoekckfkjooonkbdancdjccfofacecbhpncpkcnjkkgjdfeiibmienfnojecgjgcfcij Original-NNTP-Posting-Date: Sun, 08 Oct 2006 16:32:03 MST Original-Xref: shelby.stanford.edu gnu.emacs.help:142282 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37901 Archived-At: Hi, I am a vi user for years and am now trying emacs. I find it hard to get efficient. Can someone teach me some commands? 1. In vi, to delete a line, I do, "dd" and to delete 5 lines, I do "5dd". In emacs, how do I delete a complete line? C-k only delete from cursor to the end of line. Adding a C-a is really too much work. 2. Is there a repeat last command command like the dot command in vi? 3. In vi, to find a pairing brace I use the "%" command, is there a command like thins in emacs? 4. Should I really need to switch to emacs? Thanks Wen