Skip to content

gambels/tmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

tmux

Using TMUX as Terminal Multiplexer

Install

Copy tmux.conf into your home directory

copy tmux.conf ${HOME}/.tmux.conf

Plugin Manager

Install

$ git cone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Install Plugins

Add new plugin to "~/.tmux.conf" with "set -g @plugin ...".

Press prefix + I (capital i, as in Install) to fetch the plugin.

Usage

Create Session

tmux new-session -s <sessions-name>

Attach Session

tmux attach-session -t <session-name>

List Sessions

tmux ls

Cheat Sheet

General

<C> Ctrl Key
<M> Alt Key

Prefix for all commands : <C-a>

Detach Session          : <Prefix> d

Reload Configuration    : <Prefix> r

Windows

Create Window           : <Prefix> c

Next Window             : <Prefix> n
Previous Window         : <Prefix> p

Swap Window Next        : <Prefix> <C-n>
Swap Window Previous    : <Prefix> <C-p>

Split Window (horzontal): <Prefix> -
Split Window (vertical) : <Prefix> |

Panes

Select Pane Up          : <Prefix> Up
Select Pane Down        : <Prefix> Down
Select Pane Left        : <Prefix> Left
Select Pane Rigth       : <Prefix> Rigth

Swap Pane Next          : <Prefix> <M-n>
Swap Pane Previous      : <Prefix> <M-p>
Swap Panes              : <Prefix> Space

Resize Pane Up          : <Prefix> <C-Up>
Resize Pane Down        : <Prefix> <C-Down>
Resize Pane Left        : <Prefix> <C-Left>
Resize Pane Right       : <Prefix> <C-Right>

Zoom Pane               : <Prefix> z
Synchronize Panes       : <Prefix> <C-s>

List Sessions/Windows/Panes

List Sessions           : <Prefix> s
List Windows            : <Prefix> w
List Panes              : <Prefix> q

About

Using TMUX as Terminal Multiplexer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published