Live data from Hacker News

Advanced Terminal Tips and Tricks

bitsand.cloud

1–7 of 7 posts

Re: Advanced Terminal Tips and Tricks

#5

tmux + ssh multiplexing has been a big time saver for me. I have a single script that I run when I open my terminal and I have an entire dashboard to manage my dev environment. Now I just need to figure out copy and paste in tmux lol.

Xsel or Xcel is your friend (think pbcopy pbpaste)

Re: Advanced Terminal Tips and Tricks

#6

tmux + ssh multiplexing has been a big time saver for me. I have a single script that I run when I open my terminal and I have an entire dashboard to manage my dev environment. Now I just need to figure out copy and paste in tmux lol.

I was thinking the same thing 2 months ago, I used tmux locally and remotely for 5 years with advanced features in bashrc using systemd-run to start sessions and keep them open.

But there were always some problems with copying, terminfo features, truecolors, composed unicode...

And recently I changed my mind about the usefulness of a multiplexer, after all only some remote machines were adapted to my workflow, most of the time I just used it locally and had to deal with multiplexer and terminal issues at the same time.

So I tried Kitty again, Kitty claims that multiplexers are a bad idea and that the terminal can do more and better, and it's right about that. Multiplexers should be replaced by advanced terminals.

Re: Advanced Terminal Tips and Tricks

#7

tmux + ssh multiplexing has been a big time saver for me. I have a single script that I run when I open my terminal and I have an entire dashboard to manage my dev environment. Now I just need to figure out copy and paste in tmux lol.

In vim mode, it's just LEADER-[ and LEADER-].