Friday Picks 035

Read more →

How to Start and Restore Tmux Sessions Automatically With tmux-continuum

You've created a tmux session and worked with it. You've created a pane layout that works for you, and started your Vim editor. What happens when you shut down your computer, and start it again later? Tmux doesn't remember your sessions. When you restart tmux, you loose all your running programs, etc. There are two tmux plugins that can help with that: Tmux Resurrect and tmux-continuum. Installation with Tmux Plugin Manager Add theses lines to the list of plugins inside tmux.
Read more →

Copy and Paste in Tmux

A few days ago, I wanted to copy text from my tmux shell. Unfortunately, the defaults from your standard terminal and shell ([kitty][kitty] and [fish][fish]) don't work, as tmux has its own key bindings. I came across an excellent blog post called [Everything you need to know about Tmux copy past - Ubuntu][everythingcopy], which listed all the steps you need to take. First, the default behavior: Enter ‘copy mode’ by pressing CTRL+b, [.
Read more →

Tmux Workflow

Now that we've installed tmux, the terminal multiplexer, how do we use it? Start your project from your shell In the terminal, I navigate to the directory containing my project. Start a new tmux session tmux new -t <project-name> I usually name the tmux session after the project directory to avoid confusion. For example, if the project folder is called flask-react-auth, I create a new session with: tmux new -t flask-react-auth.
Read more →

Make Vim Work With Tmux

I've been toying around with tmux today. tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal. My terminal of choice is kitty, a GPU-based terminal emulator with tons of options. kitty even offers windows and tabs, so I didn't need to use tmux for creating new terminal panes.
Read more →