summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrcyeske <rcyeske>2001-04-05 01:38:20 +0000
committerrcyeske <rcyeske>2001-04-05 01:38:20 +0000
commitb5272706dbd9346033add6edee2aaa519f11b182 (patch)
tree4f613a2a7fc67d7851a4879b3633258431655a67
parent28234daefda17464ba597a90450bf23c684b8add (diff)
downloadratpoison-b5272706dbd9346033add6edee2aaa519f11b182.zip
(initialize_default_keybindings): Add keybinding for :banish.
-rw-r--r--ChangeLog3
-rw-r--r--NEWS5
-rw-r--r--src/actions.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a387eab..c06bf42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
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");