diff options
-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"); |