From ffe5476c805c8cd8ba76c15830a2f6faca96ad14 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Mon, 2 Jun 2025 16:31:59 +0930 Subject: [PATCH] changes... --- .config/tmux/tmux.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index a0a2fb4..5d3182a 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -33,12 +33,17 @@ setw -g pane-base-index 1 # Enable full mouse support. # set -g mouse on # gross gross gross +# vi mode for movement and copy/paste +set-window-option -g mode-keys vi +bind -T copy-mode-vi v send-keys -X begin-selection +bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' + # ----------------------------------------------------------------------------- # Key Binds # ----------------------------------------------------------------------------- # Reload the tmux config. -bind-key r source-file ~/.config/tmux/tmux.conf +bind-key r source-file /home/solomon/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded" # Split panes. bind-key b split-window -v