38 lines
1.2 KiB
Bash
38 lines
1.2 KiB
Bash
# ┌──────────────────────────┐
|
|
# │ │
|
|
# │ ░▀█▀░█▄█░█░█░█░█ │
|
|
# │ ░░█░░█░█░█░█░▄▀▄ │
|
|
# │ ░░▀░░▀░▀░▀▀▀░▀░▀ │
|
|
# │ │
|
|
# └──────────────────────────┘
|
|
|
|
# Set default shell
|
|
set -g default-command "${SHELL}"
|
|
|
|
set-option -sa terminal-overrides ",xterm*:Tc"
|
|
set -g mouse on
|
|
|
|
# Start window numbering at 1
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
set-window-option -g pane-base-index 1
|
|
set-option -g renumber-windows on
|
|
|
|
# Plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g @plugin 'christoomey/vim-tmux-navigator'
|
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
|
|
|
source-file ~/.config/tmux/theme.conf
|
|
source-file ~/.config/tmux/binds.conf
|
|
|
|
set -g allow-passthrough on
|
|
set -ga update-environment TERM
|
|
set -ga update-environment TERM_PROGRAM
|
|
|
|
if "test ! -d ~/.tmux/plugins/tpm" \
|
|
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|