aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES6
-rw-r--r--cmd-command-prompt.c5
-rw-r--r--key-bindings.c3
3 files changed, 11 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index c9085676..7a095b18 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+30 January 2009
+
+* . now bound to "command-prompt 'move-window %%'" by default, from joshe.
+
29 January 2009
* Window options to set status line fg, bg and attributes for a single
@@ -1066,7 +1070,7 @@
(including mutt, emacs). No status bar yet and no key remapping or other
customisation.
-$Id: CHANGES,v 1.244 2009-01-30 00:39:06 nicm Exp $
+$Id: CHANGES,v 1.245 2009-01-30 21:10:10 nicm Exp $
LocalWords: showw utf UTF fulvio ciriaco joshe OSC APC gettime abc DEF OA clr
LocalWords: rivo nurges lscm Erdely eol smysession mysession ek dstname RB ms
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c
index be962173..0f40870b 100644
--- a/cmd-command-prompt.c
+++ b/cmd-command-prompt.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-command-prompt.c,v 1.12 2009-01-19 18:23:40 nicm Exp $ */
+/* $Id: cmd-command-prompt.c,v 1.13 2009-01-30 21:10:10 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -62,6 +62,9 @@ cmd_command_prompt_init(struct cmd *self, int key)
case ',':
data->arg = xstrdup("rename-window '%%'");
break;
+ case '.':
+ data->arg = xstrdup("move-window -t '%%'");
+ break;
case 'f':
data->arg = xstrdup("find-window '%%'");
break;
diff --git a/key-bindings.c b/key-bindings.c
index 0a6f5ef8..e9396b46 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -1,4 +1,4 @@
-/* $Id: key-bindings.c,v 1.58 2009-01-27 23:35:44 nicm Exp $ */
+/* $Id: key-bindings.c,v 1.59 2009-01-30 21:10:10 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -81,6 +81,7 @@ key_bindings_init(void)
{ '#', &cmd_list_buffers_entry },
{ '&', &cmd_kill_window_entry },
{ ',', &cmd_command_prompt_entry },
+ { '.', &cmd_command_prompt_entry },
{ '-', &cmd_delete_buffer_entry },
{ '0', &cmd_select_window_entry },
{ '1', &cmd_select_window_entry },