move-window bound to ., from joshe.

This commit is contained in:
Nicholas Marriott 2009-01-30 21:10:10 +00:00
parent d8f027c070
commit 0127137bbe
3 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -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;

View File

@ -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 },