32 lines
786 B
Bash
32 lines
786 B
Bash
# Configure Tabs
|
|
set -g base-index 1
|
|
set -g pane-base-index 1
|
|
set -g renumber-windows on
|
|
bind-key -n C-t new-window
|
|
bind-key -n C-T new-window -c "#{pane_current_path}"
|
|
bind-key -n C-w kill-pane
|
|
|
|
# Panes
|
|
bind \ split-window -h
|
|
bind | split-window -h -c '#{pane_current_path}'
|
|
bind - split-window
|
|
bind _ split-window -c '#{pane_current_path}'
|
|
|
|
# Move bar to top
|
|
set -g status-position top
|
|
|
|
# Fix System Clipboard
|
|
set -g default-shell $SHELL
|
|
set -g default-command 'reattach-to-user-namespace -l ${SHELL}'
|
|
|
|
# Theme
|
|
set -g @themepack 'block/yellow'
|
|
|
|
# Plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g @plugin 'jimeh/tmux-themepack'
|
|
set -g @plugin 'christoomey/vim-tmux-navigator'
|
|
|
|
# Initialize Tmux Plugin Manager (TPM)
|
|
run '~/dotfiles/tpm/tpm'
|