Re: [PATCH 2/4] Add definition for window_renumber_windows

2011-08-07 Thread Nicholas Marriott
Hi I don't mind the idea but I think this code is wrong - the tree is keyed by index so you shouldn't change it like this. You will need to create a temporary tree, remove each window from the current tree, increase the index and add it to the temporary tree. Then copy the temporary over s->window

Re: Kill all windows in session but one...

2011-08-07 Thread Nicholas Marriott
I think a flag to kill-window would be better than a new command but otherwise concept seems fine to me. On Fri, Aug 05, 2011 at 12:17:03AM +0100, Thomas Adam wrote: > Hi, > > I often find myself starting up a new session in tmux with the intent of it > being for a specific purpose, and naming i