diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index 745f5cd..11ecf85 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -90,6 +90,7 @@ bind p paste-buffer ## Toggle selection bind -T copy-mode-vi v if -F '#{selection_active}' 'send-keys -X clear-selection' 'send-keys -X begin-selection' + bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel bind -T copy-mode-vi C-v send-keys -X rectangle-toggle diff --git a/home/user/.config/tmux/tmux.conf b/home/user/.config/tmux/tmux.conf index 16440ef..9d4e5de 100644 --- a/home/user/.config/tmux/tmux.conf +++ b/home/user/.config/tmux/tmux.conf @@ -5,9 +5,9 @@ source-file "$HOME/.config/tmux/options.conf" source-file "$HOME/.config/tmux/style.conf" source-file "$HOME/.config/tmux/aliases.conf" -if-shell 'test -n "$SSH_CLIENT"' 'source-file "$HOME/.config/tmux/remote.conf"' - if-shell 'test -e "$HOME/.config/tmux/local.conf"' 'source-file "$HOME/.config/tmux/local.conf"' +if-shell 'test -n "$SSH_CLIENT"' 'source-file "$HOME/.config/tmux/remote.conf"' + source-file "$HOME/.config/tmux/plugins.conf" run -b "$HOME/.config/tmux/plugins/tpm/tpm" \ No newline at end of file