setw -g mode-keys vi set -g status-keys vi set -g default-terminal "xterm-256color" # remap prefix from 'C-b' to 'C-a' unbind C-b set-option -g prefix C-a bind-key C-a send-prefix # don't rename windows automatically set-option -g allow-rename off # add mouse scrolling set -g mouse on # smart pane switching with awareness of vim splits bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R #set-option -g status on #set-option -g status-interval 2 #set-option -g status-justify "centre" #set-option -g status-left-length 60 #set-option -g status-right-length 90 #set-option -g status-left "#(~/share/tmux-powerline/powerline.sh left)" #set-option -g status-right "#(~/share/tmux-powerline/powerline.sh right)" #set-hook -g session-created 'run-shell "~/share/tmux-powerline/powerline.sh init"' # prettifies the window-status segments #bind C-[ run '~/share/tmux-powerline/mute_powerline.sh left' # Mute left statusbar. #bind C-] run '~/share/tmux-powerline/mute_powerline.sh right' # Mute right statusbar. # List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin "arcticicestudio/nord-tmux" # Other examples: # set -g @plugin 'github_username/plugin_name' # set -g @plugin 'github_username/plugin_name#branch' # set -g @plugin 'git@github.com:user/plugin' # set -g @plugin 'git@bitbucket.com:user/plugin' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'