all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* replicating prefix keys
@ 2007-05-16 16:24 Rustom Mody
  0 siblings, 0 replies; 2+ messages in thread
From: Rustom Mody @ 2007-05-16 16:24 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 651 bytes --]

I am using ecb and find the prefix sequences too long to type (or remember)
For example a part of the key-bindings are as under

C-c . g b    ecb-goto-window-speedbar
C-c . g c    ecb-goto-window-compilation
C-c . g d    ecb-goto-window-directories
C-c . g h    ecb-goto-window-history
C-c . g l    ecb-goto-window-edit-last
C-c . g m    ecb-goto-window-methods
C-c . g s    ecb-goto-window-sources

C-c . l c    ecb-change-layout
C-c . l r    ecb-redraw-layout
C-c . l t    ecb-toggle-layout
C-c . l w    ecb-toggle-ecb-windows

Can I say make the function key f4 do the work of C-c . g
So that instead of C-c . g b I only need to type f4 b?

Thanks

[-- Attachment #1.2: Type: text/html, Size: 880 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: replicating prefix keys
       [not found] <mailman.731.1179333147.32220.help-gnu-emacs@gnu.org>
@ 2007-05-17 10:51 ` Peter Tury
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Tury @ 2007-05-17 10:51 UTC (permalink / raw)
  To: help-gnu-emacs

"Rustom Mody" <rustompmody@gmail.com> writes:

> I am using ecb and find the prefix sequences too long to type (or
> remember) For example a part of the key-bindings are as underC-c . g
> b ecb-goto-window-speedbarC-c . g c ecb-goto-window-compilation C-c
> . g d ecb-goto-window-directoriesC-c . g h
> ecb-goto-window-historyC-c . g l ecb-goto-window-edit-lastC-c . g m
> ecb-goto-window-methodsC-c . g s ecb-goto-window-sourcesC-c . l c
> ecb-change-layout C-c . l r ecb-redraw-layoutC-c . l t
> ecb-toggle-layoutC-c . l w ecb-toggle-ecb-windowsCan I say make the
> function key f4 do the work of C-c . gSo that instead of C-c . g b I
> only need to type f4 b?  Thanks

You can put something like this into your .emacs file:

(define-key xxx-keymap [f4] 'ecb-goto-window-speedbar)

"xxx-keymap" is probably "ecb-mode-map" or something similar.

\bye
P

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-17 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-16 16:24 replicating prefix keys Rustom Mody
     [not found] <mailman.731.1179333147.32220.help-gnu-emacs@gnu.org>
2007-05-17 10:51 ` Peter Tury

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.