37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
# set true color
|
|
set-option -g default-terminal "$TERM"
|
|
set-option -ag terminal-overrides ",$TERM:Tc"
|
|
set -g mouse on
|
|
|
|
# set transparent background
|
|
set -g status-style bg=default
|
|
|
|
# start windows and panes at 1, not 0
|
|
set -g base-index 1
|
|
set -g pane-base-index 1
|
|
set-window-option -g pane-base-index 1
|
|
set-option -g renumber-windows on
|
|
|
|
# set prefix
|
|
unbind C-b
|
|
set -g prefix C-Space
|
|
bind C-Space send-prefix
|
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
# set -g @plugin 'bobcats/everforest-tmux'
|
|
set -g @plugin 'odedlaz/tmux-onedark-theme'
|
|
# set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
|
|
# set -g @everforest_theme 'dark-hard'
|
|
|
|
# set vi mode
|
|
# bind-key -T copy-mode-vi v send-keys -X begin-selection
|
|
# bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
|
# bind-key -T copy mode-vi C-v send-keys-X rectangle-toggle
|
|
|
|
# Open pane sin current directory
|
|
bind '"' split-window -v -c "#{pane_current_path}"
|
|
bind % split-window -h -c "#{pane_current_path}"
|
|
|
|
run '/usr/share/tmux-plugin-manager/tpm'
|