by stefco_ · 9y ago · 0 comments
tmux -CC attach || tmux -CC
This is one of my favorite things about iTerm! Combine that with custom profiles for each server and automatic profile switching (and a few other gems), and working remotely is scarcely harder than working locally!The vim stuff is not too hard to get around IIRC. I don't remember the details, but you can have a look at my .vimrc [0] if you want an example that works on remote servers through tmux with iterm.
[0] https://github.com/stefco/dotfiles/blob/master/linkfiles/.vi...