Skip to content

Instantly share code, notes, and snippets.

@flying3615
Created December 19, 2018 03:43
Show Gist options
  • Save flying3615/2a0f68dc088f103b0995a6edb402cba0 to your computer and use it in GitHub Desktop.
Save flying3615/2a0f68dc088f103b0995a6edb402cba0 to your computer and use it in GitHub Desktop.
my tmux conf
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
setw -g monitor-activity on
set -g visual-activity on
set-window-option -g window-status-current-bg yellow
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
bind -t vi-copy y copy-pipe "xclip -sel clip -i"
set -g default-terminal "screen-256color"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment