From ff92ee33f5ee007d6c9ffd08b5ed64c6088b7318 Mon Sep 17 00:00:00 2001 From: hc Date: Mon, 23 Mar 2026 20:13:46 +0800 Subject: move mac dotfiles to repo root --- .tmux.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .tmux.conf (limited to '.tmux.conf') diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..fc4b931 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,11 @@ +# Vi mode for copy +setw -g mode-keys vi + +# Mouse selection +set -g mouse on + +# v to start selection, y to yank (like vim) +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi y send-keys -X copy-pipe-no-clear "pbcopy" +bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-no-clear "pbcopy" +bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-no-clear "pbcopy" -- cgit