Using tmux properly
danielallendeutsch.com
Using tmux properly
1–10 of 218 posts
Re: Using tmux properly
#2Re: Using tmux properly
#3Re: Using tmux properly
#4A big thing I've done is use my multiplexer segregate contexts. When I spin up screen (tmux would work the same, just never switched) I set an environment variable noting the particular context I'm working in, and I adjust my PATH, HISTFILE, and more based on this variable.
Re: Using tmux properly
#5It makes things nice and simple. No matter if I'm working on a laptop or a desktop, all my terminal windows end up in the same place and have the same settings. It's great!
Re: Using tmux properly
#6There is one thing I want from my terminal multiplexer: working scroll functionality with Shift+PgUp/PgDn, even in split screens, just like in a plain console, without messing everything up. Is that possible?
Re: Using tmux properly
#7There is one thing I want from my terminal multiplexer: working scroll functionality with Shift+PgUp/PgDn, even in split screens, just like in a plain console, without messing everything up. Is that possible?
bind-key -t vi-copy "J" page-down
bind-key -t vi-copy "K" page-up
Then I can just enter tmux's vi mode, and scroll up and down with shift-J/K. I don't know of a way to bind shift-PgUp/PgDn though, which sounds like what you are looking for.Re: Using tmux properly
#8There is one thing I want from my terminal multiplexer: working scroll functionality with Shift+PgUp/PgDn, even in split screens, just like in a plain console, without messing everything up. Is that possible?
Just add 'set -g mouse on' to your ~/.tmux.conf. You can configure the history size limit by setting 'set-option -g history-limit '. When you scroll the mouse wheel, tmux will enter copy mode and scroll.
Re: Using tmux properly
#9Re: Using tmux properly
#10I basically use tmux as my window manager. I only typically open two programs: a browser, and a terminal. Both are always in full-screen mode. It makes things nice and simple. No matter if I'm working on a laptop or a desktop, all my terminal windows end up in the same place and have the same settings. It's great!
If I'm reading the general web then I max the browser (which also maxes the terminal, since I'm running awesome-wm tiling window manager).
If I'm writing code or anything else terminal-focused, then they're unmaxed, side by side.