From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregory Benjamin Newsgroups: gmane.emacs.help Subject: Re: Issues with emacs Date: Sun, 24 Jun 2012 08:08:09 -0700 Message-ID: <20120624150809.GA31148@dbn66.laserlab.com> References: <87bokbb4zw.fsf@gnu.org> <4FE714FE.2060308@dogan.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1340550506 17587 80.91.229.3 (24 Jun 2012 15:08:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Jun 2012 15:08:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 24 17:08:25 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 1SioQG-0004Yl-5k for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Jun 2012 17:08:20 +0200 Original-Received: from localhost ([::1]:50807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SioQF-0002ni-QH for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Jun 2012 11:08:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SioQ9-0002na-RS for help-gnu-emacs@gnu.org; Sun, 24 Jun 2012 11:08:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SioQ8-00018E-2f for help-gnu-emacs@gnu.org; Sun, 24 Jun 2012 11:08:13 -0400 Original-Received: from mail.laserlab.com ([69.229.78.89]:39612 helo=dbn66.laserlab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SioQ7-000184-RV for help-gnu-emacs@gnu.org; Sun, 24 Jun 2012 11:08:12 -0400 Original-Received: by dbn66.laserlab.com (Postfix, from userid 1001) id 3F11420E0FB; Sun, 24 Jun 2012 08:08:09 -0700 (PDT) Content-Disposition: inline In-Reply-To: <4FE714FE.2060308@dogan.se> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 69.229.78.89 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:85426 Archived-At: Here's my off-the-top-of-my-head variation on your idea: > Wouldn't it be very useful to have a QUICKSTART or HOWTO shipped > with Emacs? Something really short and concise and containing > something like this: > > Notation: > > * C- means Control > * M- means Meta (or Alt if you don't have a Meta key) > * C-M- means Control and Meta > > > Movement: > I don't use any of these four in day-to-day use, though I did learn them initially. > C-n - Move to the next line > C-p - Move to the previous line > C-v - Move one screen downwards > M-v - Move one screen upwards I use these instead. I prefer to simply hold down the up or down arrow key to scroll since, on modern computers, this moves through the text at about 15 lines per second. Arrow keys - work as expected C-a - Move to beginning of line C-e - Move to end of line M-< - Move to beginning of buffer (requires shift) M-> - Move to end of buffer (requires shift) I class C-s and C-r as cursor movement keys. C-s - Search/Jump forward C-r - Search/Jump backward > Editing: > > C-x C-f - Open a file > C-x b - Switch to another buffer > C-x C-s - Save the current buffer to a file C-d - delete character M-d - delete "word" My ~/.emacs has: (setq kill-whole-line t) so that: C-k - delete from point to EOL or entire line if point is in col 1. Setting kill-whole-line t makes C-k comfortable for deleteing blocks of text. Just type C-a, then C-k as many times as desired. In cases where I want to cut/paste more than a few lines of text: C-space - Start marking region to cut/paste > C-w - Cut the current selection ("killing" and deleting) > M-w - Copy the current selection ("killing" but not deleting) > C-y - Paste ("yanking" killed text) > C-/ - Undo > > > Searching/replacing: > > C-s - Search > M-% - Search and replace > C-M-% - Search and replace (regular expressions) > > > Miscellaneous: > > M-x - Execute a command that doesn't necessarily have a key binding > C-x C-c - Exit Emacs > C-g - Abort unfinished key sequence > ESC ESC ESC - If you messed up somehow and want to hide in a corner > and hope for it to go away