Skip to content

Instantly share code, notes, and snippets.

@bresilla
Last active May 3, 2017 09:14
Show Gist options
  • Save bresilla/db4f138e5ec3cf60cb00738bb3ac8cba to your computer and use it in GitHub Desktop.
Save bresilla/db4f138e5ec3cf60cb00738bb3ac8cba to your computer and use it in GitHub Desktop.
set -g default-terminal "screen-256color"
set -g prefix C-a
#restore
bind-key r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."
#shrtcuts
bind -n C-p send-keys "djptwm:024" \; send-keys "Enter" \;
bind -n C-x send-keys "exit" \; send-keys "Enter" \;
bind -n C-y send-keys "clear" \; send-keys "Enter" \; clear-history
# Use Panes
bind -n C-right split-window -h
bind -n C-left split-window -h
bind -n C-down split-window -v
bind -n C-up split-window -v
# Use Windows
bind-key space next-window
bind -n M-left new-window
bind -n M-right new-window
bind -n M-up new-window
bind -n M-down new-window
set -g default-command /usr/bin/zsh
set -g default-shell /usr/bin/zsh
# status line
set -g status-position bottom
# List of plugins
set -g @tpm_plugins ' \
caiogondim/maglev \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-continuum \
tmux-plugins/tmux-yank \
tmux-plugins/tmux-pain-control \
tmux-plugins/tmux-copycat \
tmux-plugins/tmux-open \
tmux-plugins/tmux-cpu \
tmux-plugins/tmux-prefix-highlight \
'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment