Re: New questionnaire on your usage of Sawfish
- From: dmg <dmg uvic ca>
- To: General discussion about sawfish wm <sawfish-list gnome org>
- Subject: Re: New questionnaire on your usage of Sawfish
- Date: Mon, 24 Aug 2009 21:32:11 -0700
On Mon, Aug 24, 2009 at 9:27 PM, Christopher Roy
Bratusek<zanghar freenet de> wrote:
>> * supporting a prefix for sawfish commands
>
> What is this actually good for? Just asking.
Just very simple and based on a recent discussion. For example,
I like to be able to use M-C E as a prefix for executing shell commands.
So I do M-C E g and start gnome-terminal, for example. I find it
easier to organize them with various prefixes. Otherwise
it is difficult (for me) to keep mnemonic names for comments.
Here is the code:
;; define extended keystrokes
(define dmg-keymap (make-keymap))
(bind-keys global-keymap "M-C-e" dmg-keymap)
(bind-keys dmg-keymap "x" 'xterm)
(bind-keys dmg-keymap "g" 'dmg-xterm)
(bind-keys dmg-keymap "k" 'dmg-killall)
(bind-keys dmg-keymap "j" 'dmg-gjiten)
(bind-keys dmg-keymap "n" 'dmg-network)
(bind-keys dmg-keymap "e" 'dmg-emacs)
--
--dmg
---
Daniel M. German
http://turingmachine.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]