home/dotfiles/tmux.conf
2020-10-24 08:05:49 +02:00

47 lines
1 KiB
Bash

# Start window and pane indices at 1.
set -g base-index 1
set -g pane-base-index 1
# Status bar styling and content.
#set -g status-bg black
#set -g status-fg white
set -g status-left '#S '
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Theme
set -g @plugin "arcticicestudio/nord-tmux"
# Vim mod
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key H resize-pane -L
bind-key J resize-pane -D
bind-key K resize-pane -U
bind-key L resize-pane -R
# Highlight the active window in the status bar.
set-window-option -g window-status-current-bg cyan
set-window-option -g window-status-current-fg black
# Don't prompt to kill panes/windows.
bind-key x kill-pane
bind-key & kill-window
# More intuitive split-window mappings.
bind "\\" split-window -h
bind - split-window -v
# Maximize pane, e.g. for copying.
bind-key z resize-pane -Z
# Reload tmux conf.
unbind r
bind r source-file ~/.tmux.conf\; display "Reloaded conf."
run -b '~/.tmux/plugins/tpm/tpm'