help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: Interactive goto-line ?!


From: Kevin Rodgers
Subject: Re: Newbie: Interactive goto-line ?!
Date: Tue, 24 Feb 2004 14:01:12 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Floyd Davidson wrote:

I'm not sure what the default bindings are, but I've always used
any emacs with M-g bound to the goto-line function.  That means
going to line 214 is as easy as the key sequence 'ESC 214 ESG g'

This is what is in my .emacs file:

 (define-key esc-map  "g" 'goto-line)

By default M-g is a prefix key, bound to facemenu-keymap.  I prefer:

(global-set-key "\C-cg" 'goto-line)
(global-set-key "\C-cG" 'goto-char)

--
Kevin Rodgers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]