[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replicating prefix keys
From: |
Peter Tury |
Subject: |
Re: replicating prefix keys |
Date: |
Thu, 17 May 2007 10:51:09 GMT |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (windows-nt) |
"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