As Iterm2 has split panels and some level of saving your session and neovim built in termnial I feel tmux may not be needed for local development or am I missing something?
As Iterm2 has split panels and some level of saving your session and neovim built in termnial I feel tmux may not be needed for local development or am I missing something?
Btw as you’re an iTerm user you might want to read up on its tmux integration, which is quite cute.
#!/bin/bash
tmux split-pane -b -p 30 -d;
tmux send-keys -t {up-of} 'nyancat^M'
"$@"
tmux send-keys -t {up-of} '^C'
tmux kill-pane -t {up-of}
to pop up an obvious animation for longer running processes. like vm startup. When the animation disappears the thing is ready to go. Haven't been bothering with tmux local lately though.1. https://github.com/christoomey/vim-tmux-navigator. I use ctrl-h/j/k/l to navigate vim splits, and with vim-tmux-navigator, I can seamlessly move between splits and tmux panes. It's really nice.
2. Project management. I use a separate instance of vim per project I'm working on, and each instance corresponds to a tmux window. I have a no-prefix bind on ctrl-f that brings up the choose-window command, so I can navigate between projects with `ctrl-f <number>`. I haven't found a solution to switch between projects in a single vim instance that is as fast this.
(a) Same experience in all machines, Linux or macOS, local or remote (b) You can send keys from one terminal to another, so you can create complex interfaces with specialized windows
Out of those, I have not find any good reason to drop iterm2 for tmux locally.