Skip to content

kemals/tmux-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

tmux-dotfiles

tmux

Prerequisites

  1. tmux (2.5)
  2. Python (this documentation is assuming Python3 is installed even though setup would be working with minor modifications with Python 2.7)
  3. powerline, awesome statusline for vim and couple of several other awesome applications
  4. Tmux Better Mouse Mode, tmux plugin to better manage your mouse

Setup

  1. Clone this repo:
git clone https://github.com/kemals/tmux-dotfiles
  1. Backup current configuration file, if you have one:
cp ~/.tmux.conf ~/.tmux.conf.bac
  1. Copy cloned config file as new .tmux.conf:
cp tmux-dotfiles/config/tmux.conf ~/.tmux.conf
  1. In case you don't have powerline installed, install it with:
pip install powerline-status
  1. In case you don't have Tmux Better Mouse Mode plugin installed, install it with:
cd ~/Documents
git clone https://github.com/NHDaly/tmux-better-mouse-mode
  1. Start tmux and profit!
tmux

Shortcuts

tmux.conf already containts some of the relevant shortcuts documented, but this cheat sheet contains a lot of useful information!

  1. < CTRL b > < CTRL b > - Go to previous window
  2. < CTRL b > < CTRL k > - Clear history
  3. < CTRL b > < r > - Reload tmux
  4. < CTRL b > < P > - Save content of buffer to the file
  5. < CTRL b > < Escape > - Enter 'copy' mode In 'copy' mode: use vim shortcuts In 'copy' mode: press 'v' to start selection In 'copy' mode: press 'y' to copy selected
  6. < CTRL b > < p > - paste content of the buffer
  7. < CTRL b > < c > - create new window
  8. < CTRL b > < , > - rename window
  9. < CTRL b > < " > - horizontal split
  10. < CTRL b > < % > - vertical split

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published