From d25a662b22aaa4301799c35d55202675ca6fb144 Mon Sep 17 00:00:00 2001 From: DrNuget Date: Thu, 6 Feb 2025 23:46:56 +0200 Subject: tmux.conf add visual mode and yank bind --- .tmux.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index cf53d41..6005506 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -3,7 +3,9 @@ bind m split-window -v bind r source-file ~/.tmux.conf set -g status-fg white set -g status-bg black -set-window-option -g mode-keys vi +setw -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 # Smart pane switching with awareness of Vim splits. # See: https://github.com/christoomey/vim-tmux-navigator -- cgit v1.2.3