Re:Ask HN: Which tools have made you a much better programmer?
by boogies on Tuesday June 09, 2020 @07:13PM
(#23472004)
Re. Sidenote:
It doesn't look like there are many terminal emulators with tmux built in¹, but you can bind a keyboard shortcut to `xterm -e tmux attach'. (rxvt[-unicode] and st also support the -e flag, to run a given command instead of the default shell).
1: https://unix.stackexchange.com/questions/189805/what-termina...
Re:Ask HN: Which tools have made you a much better programmer?
by nickysielicki on Tuesday June 09, 2020 @07:21PM
(#23472073)
That would work if I was running tmux locally, but what about when I’m running tmux on a remote server?
Re:Ask HN: Which tools have made you a much better programmer?
by boogies on Tuesday June 09, 2020 @07:39PM
(#23472217)
Maybe use `xterm -e remote-tmux' where `remote-tmux' is a small script in your $PATH similar to https://stackoverflow.com/questions/27613209/how-to-automati... ?
(Sidenote: is there any sort of linux libvte-based terminal emulator that has tmux integration a-la iTerm2? For when I do use i3, it would be really nice if I could spawn a new terminal on a remote server, attaching through an existing tmux session.)