Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nacyot
Last active August 29, 2015 14:04
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nacyot/299d044bd4606a63c386 to your computer and use it in GitHub Desktop.
Save nacyot/299d044bd4606a63c386 to your computer and use it in GitHub Desktop.
bind r source-file ~/.tmux.conf \; display "Reloaded!"
set -g default-shell /bin/zsh
set -g base-index 1
setw -g pane-base-index 1
bind | split-window -h
bind - split-window -v
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
bind m \
set -g mode-mouse on \;\
set -g mouse-resize-pane on \;\
set -g mouse-select-pane on \;\
set -g mouse-select-window on \;\
display 'Mouse: ON'
# Toggle mouse off with ^B M
bind M \
set -g mode-mouse off \;\
set -g mouse-resize-pane off \;\
set -g mouse-select-pane off \;\
set -g mouse-select-window off \;\
display 'Mouse: OFF'
# set-window-option -g xterm-keys on
# set -g default-terminal "xterm-screen"
# shift-key setting
bind-key -n S-Up send-key ^[ [ 1;2 A
bind-key -n S-Down send-key ^[ [ 1;2 B
bind-key -n S-Right send-key ^[ [ 1;2 C
bind-key -n S-Left send-key ^[ [ 1;2 D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment