Created
June 26, 2015 15:38
-
-
Save Chronial/2a8e2e8830307c5f299c to your computer and use it in GitHub Desktop.
.tmux.conf for servers
This file contains hidden or 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
# 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