diff options
author | rcyeske <rcyeske> | 2001-04-05 01:38:20 +0000 |
---|---|---|
committer | rcyeske <rcyeske> | 2001-04-05 01:38:20 +0000 |
commit | b5272706dbd9346033add6edee2aaa519f11b182 (patch) | |
tree | 4f613a2a7fc67d7851a4879b3633258431655a67 | |
parent | 28234daefda17464ba597a90450bf23c684b8add (diff) | |
download | ratpoison-b5272706dbd9346033add6edee2aaa519f11b182.zip |
(initialize_default_keybindings): Add keybinding for :banish.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | src/actions.c | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -1,6 +1,7 @@ 2001-04-04 Ryan Yeske <rcyeske@cut.hotdog.tmp> - * src/actions.c: add banish to user_commands. + * src/actions.c: add :banish to user_commands. + (initialize_default_keybindings): Add keybinding for :banish. (cmd_banish): New function. 2001-04-01 shawn <sabetts@diggin.lamenet.tmp> @@ -19,6 +19,11 @@ $ ratpoison --command next WINDOW_BORDER_WIDTH has been added to conf.h. This constant determines the border width for all windows. +** Rodent handling +A new command, :banish, which will move the rat pointer out of harms +way, has been added. It is bound to 'C-t b' by default. No more +slapping your rat out of the way, as fun as that was. + ** Window list changes A '+' is now drawn between the window number and the window name for the last accessed window. diff --git a/src/actions.c b/src/actions.c index 1ea65ad..537fbfc 100644 --- a/src/actions.c +++ b/src/actions.c @@ -104,6 +104,8 @@ initialize_default_keybindings (void) add_keybinding (XK_Return, ControlMask, "next"); add_keybinding (XK_a, 0, "clock"); add_keybinding (XK_a, ControlMask, "clock"); + add_keybinding (XK_b, 0, "banish"); + add_keybinding (XK_b, ControlMask, "banish"); add_keybinding (XK_c, 0, "exec " TERM_PROG); add_keybinding (XK_c, ControlMask, "exec " TERM_PROG); add_keybinding (XK_colon, 0, "colon"); |