Skip to content

Instantly share code, notes, and snippets.

@Laica-Lunasys
Last active October 7, 2015 09:17
Show Gist options
  • Save Laica-Lunasys/9296658d10dcfbaf0d81 to your computer and use it in GitHub Desktop.
Save Laica-Lunasys/9296658d10dcfbaf0d81 to your computer and use it in GitHub Desktop.
tmux Configuration
# Basic setting
set -g default-shell /bin/zsh
set -g history-limit 10000
set -g status-interval 1
set -g default-terminal screen-256color
set -sg escape-time 1
set -g renumber-windows off
# Change prefix-key
set -g prefix C-space
# tmux control
bind -n F3 previous-window
bind -n F4 next-window
bind -n F2 new-window
bind -n F1 command-prompt -p ">"
bind r confirm-before -p "[Reload] Are you sure? (y/n):" 'source-file ~/.tmux.conf; display-message "[Reload] Reload Complete!"'
# Mouse support
set -g mouse-select-pane on
#set -g mouse-select-window on
set -g mouse-resize-pane on
set -g mode-mouse on
set -g mouse-utf8 off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment