tmux ls formatting?

2017-04-27 Thread Matt Zagrabelny
Hello! I know I can format the output of "tmux ls" with -F. I can't find the config option to set the formatting in my tmux.conf file. Any suggestions? Besides the man page for tmux is there a good resource for what the available config options are for tmux.conf? Thanks for any help! -m --

Re: tmux ls formatting?

2017-04-28 Thread Matt Zagrabelny
Thanks, Nicholas! -m On Fri, Apr 28, 2017 at 2:31 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > > Hi > > There is no option, -F is the only way to do it. > > > > > On Thu, Apr 27, 2017 at 10:09:23AM -0500, Matt Zagrabelny wrote: > >He

two options for spawning tmux on new terminals

2017-11-08 Thread Matt Zagrabelny
Greetings, I am looking to launch tmux automatically when I launch a terminal/ssh session. I can: keep my login shell set to /bin/zsh and put the following in my .zshrc: if [[ -z $TMUX ]]; then exec tmux new fi OR I can: set my login shell to /usr/bin/tmux and put the following in my .tm

Re: two options for spawning tmux on new terminals

2017-11-08 Thread Matt Zagrabelny
able. > And it is a little harder to fix if it breaks. If you don't have root or > don't have console access to the box, I would go with the shell profile > way. Otherwise it probably doesn't make much difference. > > > On 8 Nov 2017 9:23 pm, "Matt Zagrabelny&

simulating Shift+PgUp/Down for scrolling

2017-11-09 Thread Matt Zagrabelny
Greetings tmux-users, In my pre-tmux-days I used Shift+PgUp/Down to scroll in my terminal. I know with tmux I need to enter copy-mode. I've almost recreated what I was used with the following .tmux.conf lines: bind-key -n C-PPage copy-mode -u bind-key -T copy-mode-vi C-NPage send-keys -X page-dow

Re: simulating Shift+PgUp/Down for scrolling

2017-11-09 Thread Matt Zagrabelny
Thanks for the help, Nicholas! On Thu, Nov 9, 2017 at 1:50 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > 1 yes if you can persuade your terminal to send S-PgUp to tmux instead > of trying to scroll itself, and if the terminal sends the right thing > (\e[5;2~ for page up, \e[6;2~ f

Re: simulating Shift+PgUp/Down for scrolling

2017-11-09 Thread Matt Zagrabelny
v 9, 2017 at 4:59 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > It works for me, although I can't use S-NPage so I used C-NPage instead. > > > On Thu, Nov 09, 2017 at 02:04:28PM -0600, Matt Zagrabelny wrote: > >Thanks for the help, Nicholas! > &g

scrollback buffer (history) for tmux inside of tmux

2017-12-18 Thread Matt Zagrabelny
Hello! Suppose I run tmux on my laptop and ssh to a system where I have tmux configured to exec for my shell. I have a tmux running inside of a tmux on a different system. I'd like to be able to scroll the buffer on the "inside" tmux session. Any ideas? Both the tmux on my laptop and server are

Re: How to just get persistent terminal?

2018-03-13 Thread Matt Zagrabelny
On Tue, Mar 13, 2018 at 6:54 AM, Vincenzo Romano < vincenzo.rom...@notorand.it> wrote: > Hi all. > I am looking for a solution to get the terminal persistent in case of > network failre. > I mean, I don't want the user to be able to spawn multiple virtual > terminal but rather > to get the ability

Re: How to just get persistent terminal?

2018-03-13 Thread Matt Zagrabelny
On Tue, Mar 13, 2018 at 11:59 AM, Vincenzo Romano < vincenzo.rom...@notorand.it> wrote: > 2018-03-13 17:52 GMT+01:00 Matt Zagrabelny : > > > > > > On Tue, Mar 13, 2018 at 6:54 AM, Vincenzo Romano > > wrote: > >> > >> Hi all. > >> I am l

tmux ls -F formatting with shell command

2018-03-22 Thread Matt Zagrabelny
Greetings, I attempting to format the output of tmux ls -F: $ tmux ls -F "#{session_name}: #(/home/user/tmux-utils/process-display #{pane_pid})" | head -1 189: <'/home/user/tmux-utils/process-display 8726' not ready> I rerun the above command a few times and each time the "not ready" is displaye

choose-tree key commands

2018-04-04 Thread Matt Zagrabelny
Greetings! Running tmux 2.6. I've "discovered" W. What a nice function. I see the key commands for choose-tree from the man page: KeyFunction Enter Choose selected item Up Select previous item Down Select next item < Scroll list of previews left > Scroll list of previews rig

Re: choose-tree key commands

2018-04-04 Thread Matt Zagrabelny
Hey Nicholas, On Wed, Apr 4, 2018 at 4:47 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > You can press : and run kill-session. > Is there a way to bind a key sequence to that? If not, feature request? > But if you kill the session you are attached to your client will be > deta

Re: choose-tree key commands

2018-04-05 Thread Matt Zagrabelny
On Thu, Apr 5, 2018 at 2:17 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > There is no key binding because it would be too easy to do by accident. > Sure. That is why it would have to be enabled via the config file. I'm not suggesting a default key binding implementation, just the

Re: choose-tree key commands

2018-04-05 Thread Matt Zagrabelny
On Thu, Apr 5, 2018 at 10:13 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > No we have moved away from configurable key bindings in choose mode. > Bummer. > I don't mind having a key but it would need a confirmation prompt. > How about Ctrl+X for a key? Typing two keys is less

Re: choose-tree key commands

2018-04-09 Thread Matt Zagrabelny
t, "Kill window > %u? ", > + nwl->idx); > + } > + break; > + case WINDOW_TREE_PANE: > + if (nwp != NULL && > +

setting (changing) working directory on split

2019-08-08 Thread Matt Zagrabelny
Greetings, When splitting a window into a second (or nth) pane, I'd like the working directory of the new pane to be set to current working directory of the pane that was focused when split command was issued. Does anyone know of a way to accomplish this? Thanks for any help! -m -- You receiv

Re: setting (changing) working directory on split

2019-08-08 Thread Matt Zagrabelny
On Thu, Aug 8, 2019 at 10:43 AM Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > On all platforms except OpenBSD: splitw -c '#{pane_current_path}' > > Thank you Nicholas! -m -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe

exit tmux, but retain everything

2019-10-02 Thread Matt Zagrabelny
Greetings, Is there a way to leave tmux, but somehow seed the environment (history, CWD, etc.) with everything that was part of the tmux environment? Sort of like: tmux # do stuff tmux --copy-environment-exec-shell # now the shell is running without tmux What do you folks think? Thanks for any

Re: exit tmux, but retain everything

2019-10-02 Thread Matt Zagrabelny
, > usese tmux showenv and pane_current_path to update the parent shell, > then kills tmux. > > Alternatively it would possible to add a feature where tmux replaced > itself with a new shell with the updated environment but I don't see > much use for this so there is little

Re: exit tmux, but retain everything

2019-10-02 Thread Matt Zagrabelny
t would be nice to split the pane and do that, but the local tmux takes the key sequence to split the pane. Then I need to ssh. It would be nice to have my configuration "just know what I want." Thanks, -m > > Scott > > On Thu., 3 Oct. 2019, 06:26 Matt Zagrabelny, wrote: &g

Re: exit tmux, but retain everything

2019-10-03 Thread Matt Zagrabelny
:08 AM Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > On Wed, Oct 02, 2019 at 03:25:33PM -0500, Matt Zagrabelny wrote: > >Thanks for the answers Nicholas! > >Perhaps I should just state what I currently do and see if there is a > more > >optimal way o

hiding individual panes?

2020-06-12 Thread &#x27;Matt Zagrabelny' via tmux-users
Greetings, I'm aware of the zoom option for tmux panes. Is there a mechanism to hide individual panes? Maybe move certain panes over to another window? I don't use tmux windows yet, but that might be a neat option if I'm unable to hide individual panes. Thanks for any help! -m -- You receive

sort and justify output of tmux ls

2020-08-26 Thread &#x27;Matt Zagrabelny' via tmux-users
Greetings, Here is the current output of tmux ls... $ tmux ls 104: 1 windows (created Wed Aug 5 08:23:14 2020) 144: 1 windows (created Thu Aug 13 15:45:35 2020) 3: 1 windows (created Mon Jun 22 07:26:56 2020) I would like the output to be numerically sorted by the id of the session and also hav

list current session

2020-10-28 Thread &#x27;Matt Zagrabelny' via tmux-users
Greetings, Is this the canonical way to get the current session: tmux display-message -p '#S' ? Thanks for any confirmation or correction. -m -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving em