diff --git a/tmux/.tmux.conf.symlink b/tmux/.tmux.conf.copy similarity index 74% rename from tmux/.tmux.conf.symlink rename to tmux/.tmux.conf.copy index dad7283..b5b2df5 100644 --- a/tmux/.tmux.conf.symlink +++ b/tmux/.tmux.conf.copy @@ -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'"