🐛 Rename tmux.conf to copy

This commit is contained in:
Marley Rae 2024-01-28 14:59:27 -08:00
parent 7df0ba752b
commit 7aa9c81c7a

View file

@ -2,7 +2,7 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'catppuccin/tmux'
# catppuccin
set -g @catppuccin_flavour 'mocha'
set -g @catppuccin_window_left_separator ""
@ -25,6 +25,18 @@ set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_directory_text "#{pane_current_path}"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Install tpm if not already installed.
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"