Tmux has forever changed the way I write code.

877,678
0
Published 2023-04-25
Before tmux, I spent most of my time working in graphical editors and interfaces, and found working in the terminal difficult to do.

After moving to tmux and learning how to configure it to suit my needs, I now spend nearly all my time whilst writing code in tmux.

In this video, I share the configuration that I’ve developed over the years to improve my own productivity, and why you may want to consider using tmux yourself.

#coding #programming #software

Need a cheatsheet for tmux? Visit the Dreams of Code Store
store.dreamsofcode.io/

Become a better developer in 4 minutes: bit.ly/45C7a29 👈

Tmux config git repository: github.com/dreamsofcode-io/tmux
Tmux: github.com/tmux/tmux
TPM: github.com/tmux-plugins/tpm

My socials:
Discord: discord.gg/zajQHRxTRJ
Twitter: twitter.com/dreamsofcode_io

My Equipment:
Voice over: kit.co/dreamsofcode/voiceover
Coding: kit.co/dreamsofcode/coding

00:00 Intro
00:21 Why Tmux?
01:20 Getting started
02:59 How to use Tmux
06:59 Better Navigation
08:53 Colors
09:20 Prefix key
09:49 Theme
10:36 Mouse Support
10:51 Window numbering
11:17 Yanking
12:26 Current working director

All Comments (21)
  • @TheAMadMan
    You should do a pull request for your better setup as a sane default. Open source needs better defaults in general to make and keep users.
  • @OswaldChisala
    This video actually seems organized enough that someone like me who has never used TMUX could actually try to get it up and running. Thanks, mate!
  • have always loved tmux, loving your extra config options that I haven't thought of before! Mouse support is a boon and has been part of my config since I learned about it, I also changed the vertical & horizontal split keybinds to the "[" and "-" keys respectively as they represent the direction of the split. I didn't realize tmux had its own package/plugin manager, that is really cool! Thanks for sharing!!
  • @Ozku9
    Hey, just wanted to say that I really appreciate your videos. Your entire channel has been a blessing in the world of hours long videos without clear or concise structure.
  • Amazing video as always! I was using tmux but didn't know about the plugins that you can install, my workflow just improved a lot with this!
  • 7 min and I love everything about the video, format, audio, narrative, visual and a good knowledge foundation, you got me, new subscriber here waiting for more content like this, keep the hard work because is definitely paying off 🎉
  • @danhintz7306
    Great video! I've always wanted to start using tmux, and this video definitely helps ease into it with some great styling tips. Thank you!
  • Liked, subscribed and saved to my playlist. Currently trying my best to learn vim keybindings, tmux, shell scripting while juggling through college courses. I couldn't be more thankful for this video. Hope you upload as frequently as possible. Cheers!
  • To easily remember vertical and horizontal splits, just add this bind | split-window -h bind _ split-window -v Then, you can split the window with a visual reminder of where you want the divider.
  • @Maxelya
    Thanks a lot for sharing this config. I've been playing with Neovim and Tmux for almost a year now but being a dad with close to no free time so I never had a chance to optimize my configuration as much as I initially intended to (installed a meh theme and vim keybindings and called it a day). There are a lot of interesting things in your config : C-Space as the prefix sounds like a really good idea and being able to use C-HJKL to move from a Neovim split to a Tmux pane is a gamechanger. I've still no idea when I'll be able to try this out but it sure seems like you've made me save a lot of time. o/
  • @Niklaos
    Great little video on how to configure tmux. I've been using it for years but had never gone through the effort of making it "nice". This video prompted me to do it. Even though some of the configurations that you used didn't work for me this was a great framework.
  • @AugustoFnrd
    Thank you for sharing free knowledge! I started using tmux this year only to keep my vps' ssh sessions saved, then after little time I started using it for parallel tasks, but still only in the vps because it is headless... My local machine is running Windows and I use a lot of built-in helpers from IDE's when writing code, that leads me to lots of mouse interactivity, I didn't like much of the keybindings in tmux and was lazy to change it, after seeing this video I will try harder to use it for local terminal productivity! Great tips and thanks again for the config copy paste! Subscribed! edit: add comma, fix "interactivity"
  • @mambodogg
    This is another awesome video to tweak my tmux experience and maximize the comfort of using it 🎉 Thank you for your effort and making the lives of developers better ❤
  • @gunstorm05
    Thanks for this! I'm actually coming from using byobu, which is a wrapper around either screen or tmux (as in, a configuration choice). It offers a bunch of F-key bindings that I've really liked, as alternatives to using the prefix every time. Things like using F2 for creating a new vertical split, or shift+F2 for a horizontal. Those things alone had me very hesitant to try switching to raw tmux, until I started having issues with re-attaching to sessions recently. And this video came about right in the perfect time to switch!
  • this video is perfect! i learned a LOT about tmux in only 13 minutes. I never saw tmux before, but now I'm obsessed! thank you ❤
  • @johanyngman7793
    Great video! I used it to configure my tmux. I especially like the vim bindings for yanking text from the terminal.
  • @Comrade_Tux
    I already use Tmux + neovim but still find this video useful. I didn't know about a few of the keybind changes. The change you made for copying in tmux looks very useful. Default is hard to remember because I don't use it a lot. That plugin to let you switch panes while in neovim will be great too. Thanks.
  • @typecraft_dev
    Great video, the config looks awesome! (and damn, nice editing)
  • @mick_io
    Reporting back after using tmux for a few months. This video has changed how I work for the better. Thank you!
  • A very well organised video, I wasn't expecting that you would go over tmux , I think this video should be the perfect starting point for anyone starting with tmux , thank you for your hardword