Change colours in ins versus cmd edit mode

2011-10-20 Thread Ben Boeckel
Hi, More patches :) . These add options for different message-{bg,fg,attr} colours when in command mode versus insert mode. They just have '-cmd' appended to the message name and the defaults are the inverse of the standard colours. Also updates vim syntax for them. --Ben From b0e3ea4777aa7b24d67

Re: Implement client format strings

2011-10-20 Thread Ben Boeckel
On Thu, Oct 20, 2011 at 14:41:59 -0400, Ben Boeckel wrote: > I've also updated list-clients to use format strings and added > formatters for client information as well. I should really remember to look at strings and man pages *before* sending patches. *sigh*. --Ben From 540a72e8c927b864d5eae79a2

Implement client format strings

2011-10-20 Thread Ben Boeckel
Hi, I've also updated list-clients to use format strings and added formatters for client information as well. The first patch adds the formatting code, the second updates list-clients to leverage it. --Ben From 1bf0c319db1bb0a4c8f910097907ac945f44e7a0 Mon Sep 17 00:00:00 2001 From: Ben Boeckel

Re: Implement word motion edit actions

2011-10-20 Thread Ben Boeckel
On Thu, Oct 20, 2011 at 12:17:48 -0400, Ben Boeckel wrote: > In order to do this, I added options for clients (currently just > word-separators) and the associated commands and documentation for them. > This is done in the first patch. Fixing some whitespace in the man page. --Ben From 60e5e44fd0

Re: Implement pane_index format string

2011-10-20 Thread Ben Boeckel
And add back the line format string that I deleted. Didn't realize that it wasn't just a hack for pane_index. --Ben From d18fd48cdf53b6affcb3b67a5a89861f0590046f Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 20 Oct 2011 14:30:23 -0400 Subject: [PATCH 6/6] Add line back to the format strin

Re: Implement word motion edit actions

2011-10-20 Thread Ben Boeckel
On Thu, Oct 20, 2011 at 12:17:48 -0400, Ben Boeckel wrote: > @@ -64,7 +75,7 @@ cmd_show_options_exec(struct cmd *self, struct cmd_ctx *ctx) > oo = &global_options; > table = server_options_table; > } else if (args_has(self->args, 'w') || > - self->entry ==

Implement word motion edit actions

2011-10-20 Thread Ben Boeckel
Hi, I also implemented word motion actions for editing at the command prompt. These patches are (or at least should be; a git merge is clean) independent of the pane_index format patches I posted earlier. In order to do this, I added options for clients (currently just word-separators) and the as

Re: Implement pane_index format string

2011-10-20 Thread Ben Boeckel
On Thu, Oct 20, 2011 at 07:59:42 +0100, Nicholas Marriott wrote: > Seems fine, but instead of returning (u_int)-1 can we change it to work > like window_index. Seems reasonable. Patch attached (applies on top of previous patches). --Ben From 75cdc56b9bbe2b5b25fd9374d73006325b04a345 Mon Sep 17 00:

Re: Implement pane_index format string

2011-10-20 Thread Nicholas Marriott
Hi Seems fine, but instead of returning (u_int)-1 can we change it to work like window_index. On Wed, Oct 19, 2011 at 06:25:25PM -0400, Ben Boeckel wrote: > Hi, > > The -F flag is great! I found out that pane_index was not implemented > however. The first patch adds pane_index to the format_tre