Re: Display of $PWD and current command in status line [SOLVED]

2012-08-09 Thread SamLT
On Wed, Aug 08, 2012 at 11:21:19PM -0700, John Magolske wrote: > * John Magolske [120805 23:40]: > > > * John Magolske [120801 09:15]: > > > > I'm trying to get the title of the active pane in the status line to > > > > display $PWD when no command is active, and the current command when > > > >

[PATCH] add missing entries in the manual

2012-07-24 Thread samlt
On Tue, Jul 24, 2012 at 10:02:35AM +0100, Thomas Adam wrote: > Hi, > > On 23 July 2012 08:13, KOIE Hidetaka wrote: +--- 14 lines: > > some FORMAT variables are not listed in tmux.1.--- > > Can you resend this without the FIXME part? Or were you hoping > someone else would fill

[PATCH] add missing entry in the manual

2012-07-14 Thread samlt
Hello, Minor update in the manual, there is no mention of the pane_index variable (section FORMATS) although it does exist. I'm not sure I'm doing this right(the git format-patch and all), so please, tell me if something is wrong! thanks --- trunk/tmux.1 |1 + 1 file changed, 1 insertion

Re: Fwd: scripting support for tmux

2012-05-10 Thread SamLT
On Fri, May 11, 2012 at 11:16:54AM +0530, Sinbad wrote: > -- Forwarded message -- > From: Sinbad > Date: Fri, May 11, 2012 at 9:24 AM > Subject: Re: scripting support for tmux > To: Nicholas Marriott > > > On Wed, May 9, 2012 at 12:03 PM, Nicholas Marriott < > nicholas.marri...@

Re: how to show msssage about mutt in tmux status line

2012-04-12 Thread SamLT
On Thu, Apr 12, 2012 at 06:31:47PM +0800, vinurs wrote: > Hi,all > I am a newcomer for mutt and tmux! > now I've configured using mutt to manage my mail, But in tmux, i want > show the mutt status on tmux left status line! > How can i do? > for example, I want to show how many e

Re: a way to make default-path "" an option for {split,new}-window?

2012-03-16 Thread SamLT
h, indeed! Is this change recent? tmux 1.6 doesn't have it :( Anyway, thanks a bunch:) On Fri, Mar 16, 2012 at 12:12:08PM +, Nicholas Marriott wrote: > You want the -c option to new-window/split-window :-). > > > On Fri, Mar 16, 2012 at 01:05:36PM +

a way to make default-path "" an option for {split,new}-window?

2012-03-16 Thread SamLT
Hello, To elaborate a bit more about the subject, here are some of the bindings I have and use very often: bind cnew-window bind Cset default-path "" \; new-window \; set default-path "~" bind ssplit-window -h bind Sset default-path ""

Re: Select pane by number

2012-03-07 Thread SamLT
On Wed, Mar 07, 2012 at 10:06:23AM +0100, Thorsten wrote: > > > Hi List, > I like the way tmux shows pane numbers (in my case C-o q), but I could > not find a way how to select panes by number (like select window C-o 1). > Did I miss something? You can use select-pane for that: | select-pane

Re: Avoid that tmux change my prompt console

2012-01-21 Thread SamLT
On Sat, Jan 21, 2012 at 01:33:11PM +0100, Carlos Villuendas Zambrana wrote: > Thx all, > > I removed that line but nothing happen yet lost my prompt when i start tmux > ... > > That is so much annoyed because in my prompt i have information about my git > brach and others things Ok, IMO, thi

Re: autoclosing windows

2011-12-06 Thread SamLT
On Tue, Dec 06, 2011 at 10:35:09AM -0600, Jon Johnson wrote: > Hi, > > I recently switched to using tmux from screen and have been loving it, > but I've noticed something that seems peculiar to me. I've done some > google searching and haven't been able to determine if this is > supposed to be hap

Re: Swap windows with its left neighbor

2011-11-23 Thread SamLT
On Wed, Nov 23, 2011 at 10:37:21PM +0800, dajiangtang wrote: > Is it possible to use a command to swap the current window with the window > left (or right) to it? I mean a command like "swap-window -l" or > "swap-window-left" or something which is always the same command no matter > which window

Re: How to input same commands for multi-window/pane

2011-06-26 Thread SamLT
On Mon, Jun 27, 2011 at 12:57:16AM +0800, alphachi wrote: > I have connected a few servers in multi-window/pane. If I want to run the > same commands like "ping *.*.*.*" for these servers, how can I only input > once instead of inputting in every window/pane? > Thanks! see 'synchronize-panes' in

Re: swap pane between windows

2011-03-07 Thread SamLT
On Mon, Mar 07, 2011 at 01:36:34PM -0800, Vinoth Selvaraj wrote: > Hi, > > I have been using tmux for 2 months now, so kind of beginner. > Is there an option to swap pane from one window to another window of the > same tmux session. > try something like this: swap-pane -s :7.1 -t :8.3 > Thanks,

Re: Toggle?

2011-02-20 Thread SamLT
On Sat, Feb 19, 2011 at 11:15:09PM -0800, kevin beckford wrote: > Is is possible to toggle from one screen to another? > > For example: > > window0 -> window5 > window5 -> window0 > >From the manual: | last-window [-t target-session]: | (alias: last) | => Select the last (previously selected)

Re: question about create new-window on remote

2010-12-11 Thread SamLT
On Sat, Dec 11, 2010 at 12:26:21PM +0800, Cheney wrote: > i use > > tmux new -s 11.38.9.145 'ssh r...@11.38.9.145' > > to create a new-session on the remote > > atfer that i want to create a new-window and still on the remote > > is there any shortcut? C-b c will create a new-window on locale

Re: Splitting

2010-09-05 Thread SamLT
On Sat, Sep 04, 2010 at 07:24:59PM -0700, Stealth wrote: > This is probably a very simple question, but I need to split my window > and have the split use an already existing session instead of creating a > new one... > > I usually have 3 sessions at once, each running a different program. > Some