Skip to content

Instantly share code, notes, and snippets.

@deka108
Last active June 9, 2018 20:02
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 deka108/40dcff80c8e8620e26daa9a920edffab to your computer and use it in GitHub Desktop.
Save deka108/40dcff80c8e8620e26daa9a920edffab to your computer and use it in GitHub Desktop.
My Simple Tmux Configuration
# split panes using | and -
bind \ split-window -h
bind - split-window -v
unbind '"'
unbind %
# 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
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
# don't rename windows automatically
set-option -g allow-rename off
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment