Skip to content

Instantly share code, notes, and snippets.

@manuelmorales
Created January 29, 2012 15:11
Show Gist options
  • Save manuelmorales/1699215 to your computer and use it in GitHub Desktop.
Save manuelmorales/1699215 to your computer and use it in GitHub Desktop.
From GNU screen to tmux
# ~/.tmux.conf
# Will make Ctrl-a as the prefix
unbind C-b
set -g prefix C-a
# Force 256 colors
tmux -2
# Basic moves
c # create new window
n # move to next window
p # move to previous window
l # alternate between last two windows
"arrows" # move to pane on that side
# From http://superuser.com/questions/266567/tmux-how-can-i-link-a-window-as-split-window
# Split horizontally and add pane 0
:joinp -h -t:0
# Undo split, AKA "maximize"
:breakp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment