[dwm] Keys with prefix

From: Ali Gholami Rudi <aligrudi_AT_gmail.com>
Date: Thu, 4 Oct 2007 15:01:12 +0330

I've written a patch to allow prefixed keys.

With this patch you can bind ``C-t k`` (where ``C-t`` is your prefix),
for instance, to kill window or ``C-t 1`` to ``view("1")``. You can
change the prefix by editing the line that contains the ``setprefix``
function in the config file.

I've written this patch because:

* Some of dwm's default keys conflict with emacs keybinding
* Some emacs users, including me, don't like to push three buttons at
  the same time very oftern
* If ``? x`` (? is the prefix and x is a tag) is bound to view("x"),
  letters can be a tag like digits.
* Prefixed and normal keys can coexist

I didn't know dwm's policy for submitting patches; so I've attached
the outcome of ``hg export``.

Regards,
--Ali

Received on Thu Oct 04 2007 - 13:31:21 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:57:29 UTC