snips/user.tmux.conf

54 lines
1.5 KiB
Plaintext

#
# TMUX Configuration file
#
# General settings {{{
set -g default-terminal "screen-256color"
set -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
set -as terminal-overrides ",*:U8=0"
set -g mouse on
bind r source-file ~/.tmux.conf
set -g status-position top
# set -g status-windows-justify middle
# Colors
set -g window-style 'bg=colour236'
set -g window-active-style 'bg=black'
# Package management {{{
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'
set -g @plugin 'arcticicestudio/nord-tmux'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'jimeh/tmux-themepack'
set -g @themepack 'powerline/default/gray'
# }}}
# }}}
# Keyboard shortcuts {{{
# Navigation
bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
# }}}
# Footer {{{
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
if "test -d ~/.tmux/plugins/tpm" \
"run -b '~/.tmux/plugins/tpm/tpm'"
# }}}
# vim: foldenable foldmethod=marker