Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Chronial
Created June 26, 2015 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Chronial/2a8e2e8830307c5f299c to your computer and use it in GitHub Desktop.
Save Chronial/2a8e2e8830307c5f299c to your computer and use it in GitHub Desktop.
.tmux.conf for servers
# use UTF8
set -g utf8
set-window-option -g utf8 on
# Set the default terminal mode to 256color mode.
set -g default-terminal "screen-256color"
# use fish shell
set-option -g default-shell "/usr/bin/fish"
# set scrollback history to 10000 (10k)
set -g history-limit 10000
# set window and pane index to 1 (0 by default)
set-option -g base-index 1
setw -g pane-base-index 1
# Enable vi keys.
setw -g mode-keys vi
# Vimlike copy mode.
unbind [
bind Escape copy-mode
bind y copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy Home back-to-indentation
bind -t vi-copy End end-of-line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment