From 0127137bbe0d5bd9108184521a1f5eaa48b5089a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 30 Jan 2009 21:10:10 +0000 Subject: [PATCH] move-window bound to ., from joshe. --- CHANGES | 6 +++++- cmd-command-prompt.c | 5 ++++- key-bindings.c | 3 ++- 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 @@ -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 @@ -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 },