Increase productivity with tmux on top of vim and zsh

Tmux

TMUX(terminal multiplexer) is a Linux based tool which allows a number of terminals to be opened, accessed and controlled from a single shell window. This allows to execute multiple commands, monitor server or develop and live load the changes.

Prerequisite

zsh and oh-my-zsh should be setup. You can follow this article to set it up — https://medium.com/@genericfornow/simple-and-awesome-zsh-tmux-development-environment-setup-9dc6ac991033

vim setup should be completed. Follow this article to setup - https://medium.com/@genericfornow/setting-up-vim-with-zsh-to-power-up-the-development-8dd8f4413883

TLDR

Just copy and run the commands 1 by 1 to have a powerful tmux setup up and running. You can customize it according to your needs by editing the ~/.tmux.conf file

List of commands to install tmux and tpm

Building tmux from source

The apt package manager contains older version of tmux. So we will build the latest version of tmux and use it’s most powerful features.

Installing tmux

Setting up TPM

TMUX in itself is a very powerful tool which can be used to increase the productivity and work on multiple terminals easily and seamlessly. But it has a great plugin manager, called TPM(Tmux Plugin Manager), which can help us to build a highly customizable, easy to use and powerful setup. To install TPM, we just need to run 1 liner code

Setting up tmux for plugins

An easy, simple and straight forward way to setup a powerful and highly configurable tmux for use. Below is a small walkthrough for tmux.

zsh, tmux and vim are all powerful tools which can make life very simple and intuitive while working on server. At the same point of time, they require practice. If you use these tools as your daily drivers, initially you might require some effort to get used to it but once you learn it, nothing will feel more natural. Let me know what other would you like to learn.

--

--

--

https://genericfornow.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

API Crud with Python Django, JWT for Authentication and SQLite3

AWS EKS and Cluster-Autoscaler Gotchas

Designing With Flutter

10 Tips To Transform From A Beginner To An Intermediate Developer

Making systems more resilient (1) — Circuit Breaker

Backup & Archive ProTools sessions

Typical programmer’s mistakes

Can You Downgrade Software On Mac

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aviral Agrawal

Aviral Agrawal

https://genericfornow.com/

More from Medium

Format and Lint Code on File Save

how to create repository with multi folders in GitHub

macOS Monterey on Ryzen + Windows + VMware 16

‘The CPU has been disabled by the guest operating system.’ when trying to run VMware VM

How I changed my shell to fish