From b5272706dbd9346033add6edee2aaa519f11b182 Mon Sep 17 00:00:00 2001 From: rcyeske Date: Thu, 5 Apr 2001 01:38:20 +0000 Subject: (initialize_default_keybindings): Add keybinding for :banish. --- ChangeLog | 3 ++- NEWS | 5 +++++ src/actions.c | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a387eab..c06bf42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2001-04-04 Ryan Yeske - * 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 diff --git a/NEWS b/NEWS index 572f01b..4ebc5ae 100644 --- a/NEWS +++ b/NEWS @@ -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"); -- cgit v1.2.3