Re: [PATCH v2 1/4] Add cmd-renumber-windows definition

2012-04-24 Thread Thomas Adam
On Mon, Apr 23, 2012 at 11:25:28PM +0100, Nicholas Marriott wrote: > Do we need a command at all or is the option enough? Well, I can already see people wanting both, and I see both as light-weight, especially since both code-paths between a flag to move-window and a session option call the same f

Re: [PATCH v2 0/4] Add support for renumbering windows

2012-04-24 Thread Christian Neukirchen
Thomas Adam writes: > On Apr 24, 2012 4:26 PM, "Christian Neukirchen" > wrote: >> >> Thomas Adam writes: >> >> > The idea behind this was to allow tmux to automatically reumber windows in >> > sequence when deleting windows from a session so that no "gaps" appeared. >> > This can be useful whe

Re: [PATCH v2 0/4] Add support for renumbering windows

2012-04-24 Thread Thomas Adam
On Apr 24, 2012 4:26 PM, "Christian Neukirchen" wrote: > > Thomas Adam writes: > > > The idea behind this was to allow tmux to automatically reumber windows in > > sequence when deleting windows from a session so that no "gaps" appeared. > > This can be useful when creating lots of windows in a s

Re: [PATCH v2 0/4] Add support for renumbering windows

2012-04-24 Thread Christian Neukirchen
Thomas Adam writes: > The idea behind this was to allow tmux to automatically reumber windows in > sequence when deleting windows from a session so that no "gaps" appeared. > This can be useful when creating lots of windows in a session. How I did it for years: #!/bin/sh # tmux-compress - renum