Created
November 28, 2013 09:36
-
-
Save sdeering/7689419 to your computer and use it in GitHub Desktop.
My Tmux Config Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remap prefix to Control + a | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
# force a reload of the config file | |
unbind r | |
bind r source-file ~/.tmux.conf | |
# quick pane cycling | |
unbind ^A | |
bind ^A select-pane -t :.+ | |
# split screen hotkeys | |
unbind % # Remove default binding since we’re replacing | |
bind | split-window -h | |
bind – split-window -v | |
# Set status bar | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-left '#[fg=green]#H' | |
# scrollback buffer size increase | |
set -g history-limit 500000 | |
# Start tab numbering at 1 | |
set -g base-index 1 | |
# Look good | |
set-option -g default-terminal "screen-256color" | |
# Change cursor in vim to distinguish between insert and command mode | |
# Use in conjunciton with tmux-cursors.vim | |
set-option -g terminal-overrides '*88col*:colors=88,*256col*:colors=256,xterm*:XT:Ms=\E]52;%p1%s;%p2%s\007:Cc=\E]12;%p1%s\007:Cr=\E]112\007:Cs=\E]50;CursorShape=%?%p1%{3}%<%t%{0}%e%p1%{2}%-%;%d\007' | |
# use C-a v to paste the tmux buffer | |
bind v paste-buffer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment