From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: How to go to next line on the screen instead of going to next line in the text? Date: Sat, 31 May 2008 14:29:59 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212262860 17229 80.91.229.12 (31 May 2008 19:41:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 May 2008 19:41:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 31 21:41:41 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K2WxQ-0004gp-JY for geh-help-gnu-emacs@m.gmane.org; Sat, 31 May 2008 21:41:40 +0200 Original-Received: from localhost ([127.0.0.1]:60918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2Wwe-0000wh-Nx for geh-help-gnu-emacs@m.gmane.org; Sat, 31 May 2008 15:40:52 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Sat, 31 May 2008 14:30:03 -0500 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 18 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 65.45.140.13 Original-X-Trace: sv3-YHTmTmARcPDB+T82jg+p5suMSgm04n5KAFg4KvvvpqNcWFJCkeUeMdOe+rw/tN4xieAo1Ml5ZLEaoZB!RmoC6j5xL0Rqrgr5vW44ug//nBylxbc9k7Fp91k2LsbBrrnHBKJXdpsOKu4vDY0KumuV4lenjTDd!kB/Om9OzOJv0cL0qe+HGMOP16ZS8Yg== Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:159027 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:54388 Archived-At: xz wrote: > In emacs, if you hit the down arrow key, the cursor will go to next > line in the text, i.e., the part after the first next '\n'. > > However, sometimes when the line is long and is wrapped into several > lines on the screen, I wanna move between the screen lines, instead of > the text lines, just like what happens when you hit the down arrow key > in gedit or the notepad in Windows. > > How to do that? The best way I know is to use isearch (C-s) for two or three characters before the one you want the cursor moved to and then isearch-exit which I have bound to M-s. (I use a Dvorak layout so you may want to bind to some other keychord) M-s is center-line in textmode but this is overridden in the context of isearch. Ed