pane scrollback setting?

2017-04-22 Thread Sivaram Neelakantan
on V2.3 right now, how do I set the pane scrollback to some value like 3000? and is it possible to have different scrollback values for different panes? And I'd like some explanation of what's going on here please I had a 2 pane window and in one I was compiling tmux and the other was

creating default window config via .tmux.conf

2017-04-29 Thread Sivaram Neelakantan
Is it possible to create something like main-vertical layout with 3 panes upon startup by plugging in the session, window, pane creation in the .tmux.conf itself? Most examples I see on the web are using an external sh script to create specific layouts. Can it be done in the config file itself?

Re: complete list of customisable keywords?

2018-03-26 Thread Sivaram Neelakantan
On Thu, Mar 22 2018,Scott Rochford wrote: > See the FORMATS section of the tmux man page, and everything else on that > page... > Thanks, am reviewing it now. [snipped 22 lines] sivaram -- -- You received this message because you are subscribed to the Google Groups "tmux-users" group.

synchronize panes indicator?

2018-03-17 Thread Sivaram Neelakantan
Is there a way to indicate in the modeline that the above is on in some way? That way, I'd be reminded to turn it off instead of making mistakes in all panes at the same time? sivaram -- -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To

Re: synchronize panes indicator?

2018-03-20 Thread Sivaram Neelakantan
On Sun, Mar 18 2018,Scott Rochford wrote: > Hi Sivaram, > > I use these options to suffix the window title with an 'S' flag for > synchronized panes, and also to make the current window title have a blue > background normally, a red background when synchronized, and a yellow > background when

complete list of customisable keywords?

2018-03-21 Thread Sivaram Neelakantan
I just realised that I can't make sense of the .tmux.conf file because I can't remember what setw, -n, #P and other options stand for. Is there a single location where all the config options are documented? including the variables and flags? And this is deja vu of looking at gnuplot scripts;

block selection in copy mode

2018-10-26 Thread Sivaram Neelakantan
Is there a way to do block selection like Emacs rectangle mode in tmux? If yes, can someone post how and if not, can this feature be added please? sivaram -- -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and

Re: synchronize-panes indicator

2018-11-08 Thread Sivaram Neelakantan
On Thu, Nov 08 2018,Helmut K. C. Tessarek wrote: [snipped 12 lines] > I use something like this: > > unbind y > bind y set-window-option synchronize-panes \; display-message > 'synchronize-panes -> #{?synchronize-panes,on,off}' > > set-option -g window-status-format

synchronize-panes indicator

2018-11-08 Thread Sivaram Neelakantan
Is there a way to put text like 'sync on' on all panes which synchronize-panes is enabled. I'd like to set it as pane background when it is enabled till it is toggled off. Something like t or q which show the time or pane number. Obviously a bit more into the background as text so as to not

Re: block selection in copy mode

2018-11-04 Thread Sivaram Neelakantan
On Sun, Oct 28 2018,Rik wrote: > I don't know how to do it with the mouse, but if you are in copy > mode and using the keyboard to move the cursor, and press "v", it > will switch to rectangle mode. > [snipped 14 lines] Thanks for that. I was able to do the same by pressing R key after

24bit colour support and tmux

2018-11-21 Thread Sivaram Neelakantan
After a bit of testing and googling stuff, I believe my cygwin mintty and WSL terminal in Win10 both support 24bit colour. My corresponding modifications to the conf contains set -g default-terminal "tmux-256color" set -g terminal-overrides ',xterm-256color:Tc' set -as terminal-overrides

Re: Update tmux

2019-03-17 Thread Sivaram Neelakantan
On Thu, Mar 14 2019,Ethan Wilson wrote: > Hi, I'm trying to update my version of tmux from 2.1 to 2.8, but i'm > unable to find a command on google to do it easily. is there a > certain process I have to go through to update that's more complex > than just a simple command? > > -- > Ethan Wilson

Re: tmux configs

2019-05-20 Thread Sivaram Neelakantan
On Mon, May 20 2019,Nicholas Marriott wrote: > Hi all > > I'm changing the tmux config file parser so I need different .tmux.conf > to test with, if you have a config of more than few lines please email > it to me privately. > > I might put them in the repo for testing so if you DON'T want it to

confusion regarding setting pane colours

2019-11-01 Thread Sivaram Neelakantan
I see pane-border commands to change the border colours like set -g pane-active-border-style bg=red,fg=black set -g pane-border-style fg=green but nothing to set the pane fg and bg colours. However I'm able to set the pane colours within tmux with :select-pane -t:.1 -P "fg=,bg=". What is the

Re: 3.1x Prefix ? is so much better now; thanks for the change

2020-02-23 Thread Sivaram Neelakantan
On Sun, Feb 23 2020,Nicholas Marriott wrote: > That's great thanks, it was suggested by someone in > https://github.com/tmux/tmux/issues/2000 > I see alextremblay had raised this issue; Big thanks to him and the developers who implemented the feature. [snipped 17 lines] sivaram -- -- You

3.1x Prefix ? is so much better now; thanks for the change

2020-02-23 Thread Sivaram Neelakantan
Nicholas, Thanks for making the changes to the help option that makes it so much easier to understand the key mappings. It makes a sea change in quickly looking up key mappings and what they stand for, compared to the earlier one. Nice work, this. sivaram -- -- You received this message

toggle status bar on per window or session?

2020-01-02 Thread Sivaram Neelakantan
Is there a way to toggle the status bar on a per window basis or per session basis? Something that can be mapped to a key that will toggle between on and off? sivaram -- -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this

Re: toggle status bar on per window or session?

2020-01-02 Thread Sivaram Neelakantan
On Thu, Jan 02 2020,Nicholas Marriott wrote: > I don't know what you are asking, you can toggle the status line with > "set status" and bind that to a key if you want. > sorry, I meant the status line. Thanks, I'll take a look at that. [snipped 13 lines] sivaram -- -- You received this

send-keys usage examples

2020-04-28 Thread Sivaram Neelakantan
If people can share examples of send-keys usage and/or scripted send-keys use cases, I'd be interested in knowing more about it. Especially mouse events. sivaram -- -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group

"no space for new pane"" error when scripting tmux pane creation

2020-05-02 Thread Sivaram Neelakantan
I was experimenting with scripting tmux via bash and I got the above error at the fifth pane creation. I was under the impression that tmux will auto resize panes to the smallest size and then issue such a warning when it can no longer fit panes to the visible screen. --8<---cut

Re: "no space for new pane"" error when scripting tmux pane creation

2020-05-02 Thread Sivaram Neelakantan
On Sat, May 02 2020,Nicholas Marriott wrote: [snipped 30 lines] > The easiest things to do are to either make the session big enough to > fit all the panes even when they are split: > > tmux new -d -x 200 -y 200 ... > > Or to apply the tiled layout after every split (this is what I tend to >

Re: Using command history and zooming

2020-09-12 Thread Sivaram Neelakantan
On Sat, Sep 12 2020,Nicholas Marriott wrote: > split-window 'man %%' ; resize-pane -Z Thank you, that worked. [snipped 15 lines] sivaram -- -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving

Re: update run-shell section with a line about quoting?

2020-09-13 Thread Sivaram Neelakantan
On Sat, Sep 12 2020,Nicholas Marriott wrote: > Hi > > It only needs to be quoted if it contains spaces or other special > characters. It is standard in man pages that unless otherwise stated > each item is a single argument and it is the same for all uses of > shell-command in tmux.1 and there

Using command history and zooming

2020-09-10 Thread Sivaram Neelakantan
I have the following in .conf based on the man page example # use command-prompt -p to add a string to prompt for a topic; map to # F1 key bind-key -N "Display man page for prompted topic" F1 command-prompt -p "Enter man topic:" "split-window 'exec man %%'" Is there a way to get it as a zoomed

Re: display message if a specific session/window/pane is killed/exited?

2020-09-22 Thread Sivaram Neelakantan
On Tue, Sep 22 2020,Nicholas Marriott wrote: > And after-kill-session or one of the other hooks with > display-message doesn't work? You will probably need to specify the > session or client to display-message with -t (obviously the one you > want to display on, not the one you are killing).

changing pane styles and formats conditionally

2020-05-28 Thread Sivaram Neelakantan
I tried to changing pane styles and formats like this and I can't seem to get the pane border style to change colour if inactive --8<---cut here---start->8--- # setting pane titles and colours conditionally %if "#{pane_active}" set -g pane-active-border-style

Re: changing pane styles and formats conditionally

2020-05-28 Thread Sivaram Neelakantan
On Thu, May 28 2020,Nicholas Marriott wrote: > %if only works when the file is parsed. You cannot do this easily > unless you build tmux from master - then you can use formats > directly in pane-border-style. > > Although there isn't much point in doing that for pane_active since > that's what

floating or popup panes

2020-09-18 Thread Sivaram Neelakantan
Not sure whether tmux users are aware, in the 3.2-rc release, you could do something like this into your .tmux.conf --8<---cut here---start->8--- bind-key -N "Toggle persistent popup shell" \ -n F4 if-shell -F '#{==:#{session_name},float}' {

Re: popup issue in 3.2a

2021-06-17 Thread Sivaram Neelakantan
On Wed, Jun 16 2021,Nicholas Marriott wrote: > You probably want the -E flag to display-popup. > Right, that worked as intended; now the popup goes away on F4 or on Ctrl-D { popup -E -w70% -h70% \ Thanks for this. [snipped 43 lines] > bind-key -N "Toggle persistent popup shell"

Re: Aw: Re: popup issue in 3.2a

2021-07-08 Thread Sivaram Neelakantan
On Wed, Jul 07 2021,Tobias Damisch wrote: > This is really handy, thanks Sivaram for the contribution! > Added it to my .tmux.conf permanently. > I didn't come up with this, I saw a post on /r/tmux on reddit and used that. [snipped 47 lines] sivaram -- -- You received this message

Re: tmux 3.2-rc

2021-03-03 Thread Sivaram Neelakantan
On Tue, Mar 02 2021,Nicholas Marriott wrote: [snipped 7 lines] > > Anyone using popups in previous release candidates should note that they > have changed so that running a shell command is required, and the syntax > of the display-popup command has been simplified and brought into line > with

Re: tmux 3.2-rc

2021-03-04 Thread Sivaram Neelakantan
On Thu, Mar 04 2021,Nicholas Marriott wrote: > Can you please open an issue with tmux server logs (tmux > kill-server; tmux -vv new) from reproducing? Thanks > Sure. It generated 3 files but the server log file seems to be 1.4Mb in size; do you want me to upload the entire file in github issue