I remember using on the mac a branch of tmux with iTerm, where the gui understood tmux, giving native tabs and scrollback. I thought this was the greatest thing ever, but am now on Linux. Is this work still continuing does anyone know?
Isn't one of the advantages of tmux is reduce / avoid using the mouse? I know that scrolling is one of the first non-obvious changes that seem irritating at first. But after you get used to scrolling with the keyboard, I find myself missing this possibility on 'standard' terminal windows. Suddenly using the mouse to scroll feels really awkward and inefficient.
Tmux 1.9 released
61–70 of 121 posts
Re: Tmux 1.9 released
#62 Cmd-shift-c: New window
Cmd-shift-l: New pane to the right
Cmd-shift-h: New pane to the left
Cmd-shift-k: New pane above
Cmd-shift-j: New pane below
Cmd-l: Focus pane on right
Cmd-h: Focus pane on left
Cmd-k: Focus pane above
Cmd-j: Focus pane below
Cmd-1: Select first window
Cmd-2: Select second window
...
Option-h: Previous window
Option-l: Next window
Command-/: Enter copy mode
I have the same bindings in MacVim. The nice thing about using command is that it doesn't interfere with other cli apps like ctrl.The following allows you to yank the tmux clipboard into the system clipboard: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
Re: Tmux 1.9 released
#63Earlier quoted context omitted.
I use screen and tmux for different tasks. I'll use screen when I need to run a long-running task and can't keep my terminal session open. I use tmux with a script so that I can ssh into multiple nodes and broadcast the same commands to them all at the same time. Great for interactive deployments that I haven't been able to automate away with CFEngine just yet.
That tmux broadcast trick sounds interesting. Are you able to provide some more details about it please?
cssh host1 host2 ...
It's not pretty, but it works.Re: Tmux 1.9 released
#64Awesome little program. It's saved so much time so far. For anyone that wants to get up and running: https://github.com/andyhmltn/dotfiles That contains two tmux config files that add a few things like CTRL+B thenSHIFT+P for a nice layout and a shortcut for switching between panes with ALT+Arrow keys
i use ctrl-up / ctrl-down bind-key -n C-up next bind-key -n C-down prev ctrl-left and alt-left/right interfere with too many other cli apps. https://github.com/fishman/dot_files/blob/master/tmux/.tmux....
Re: Tmux 1.9 released
#65I remember using on the mac a branch of tmux with iTerm, where the gui understood tmux, giving native tabs and scrollback. I thought this was the greatest thing ever, but am now on Linux. Is this work still continuing does anyone know?
Isn't one of the advantages of tmux is reduce / avoid using the mouse? I know that scrolling is one of the first non-obvious changes that seem irritating at first. But after you get used to scrolling with the keyboard, I find myself missing this possibility on 'standard' terminal windows. Suddenly using the mouse to scroll feels really awkward and inefficient.
edit: corrected hotkeys
Re: Tmux 1.9 released
#66Earlier quoted context omitted.
I use emacs inside tmux all the time (on a Mac, in iTerm2). Works great.
How did you configure the Command key as Meta? I could never get it to work.
You can remap left command to left option, leaving right command as command so you can still cmd+tab out of iTerm. You might also have to to to Preferences -> Profiles -> Keys and on the bottom say that the left and right option keys both act as +Esc.
If there's a better way I'd be interested to hear it, but this works for me.
Re: Tmux 1.9 released
#67Moving to Emacs, I'm going to miss tmux more than I'll miss vim (there's evil-mode).
what? You can't run emacs in a tmux session?
I do literally mean all the time. My current session has been running the same emacs process inside a tmux window for about 60 days now I think.
Re: Tmux 1.9 released
#68Moving to Emacs, I'm going to miss tmux more than I'll miss vim (there's evil-mode).
Re: Tmux 1.9 released
#69Earlier quoted context omitted.
Isn't one of the advantages of tmux is reduce / avoid using the mouse? I know that scrolling is one of the first non-obvious changes that seem irritating at first. But after you get used to scrolling with the keyboard, I find myself missing this possibility on 'standard' terminal windows. Suddenly using the mouse to scroll feels really awkward and inefficient.
I think I can live without scrolling, but what I found most irritating when trying tmux is selecting / copying / pasting things. ATM I use iterm with split panes and a 'quake-style' dropdown terminal; tbh it works well enough for me.
Re: Tmux 1.9 released
#70Has anyone used these, and can they give me a comparison: tmux/scree/byobu Currently a byobu user, it seems fine so far. Wondering what others offer more than that.
I use screen and tmux for different tasks. I'll use screen when I need to run a long-running task and can't keep my terminal session open. I use tmux with a script so that I can ssh into multiple nodes and broadcast the same commands to them all at the same time. Great for interactive deployments that I haven't been able to automate away with CFEngine just yet.
I sometimes need to do this with multiple VMs. I'm really, really not in favor of bash scripting, but I've found the following to suffice, without the tmux dependency:
for host in box1 box2 box3; do ssh $host 'command; command; command'; done
(This presumes you've set up ssh-agent or are using passphraseless keys and suitable stanzas in ~/.ssh/config; adjust to taste if not.)I'd never heard of using tmux in this fashion before. Is it that the task sufficiently resembles a nail, or does tmux provide some unique benefit here?