From 1283bf7c7379aaa871693a088e63ee0e914c6fb9 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sun, 16 Oct 2022 10:18:24 -0700 Subject: [PATCH] tmux --- .tmux.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index da9ecab..acc8799 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -23,7 +23,7 @@ set-window-option -g mode-keys vi bind-key -T copy-mode-vi 'v' send -X begin-selection bind-key -T copy-mode-vi 'V' send -X select-line bind-key -T copy-mode-vi 'r' send -X rectangle-toggle -bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" +bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel pbcopy # colors set -g pane-active-border-style fg=brightred @@ -79,9 +79,11 @@ bind-key -n 'C-k' if-shell "$is_vim" "send-keys C-k" "select-pane -U" bind-key -n 'C-l' if-shell "$is_vim" "send-keys C-l" "select-pane -R" bind-key -n 'C-\' if-shell "$is_vim" "send-keys C-\\" "select-pane -l" +# fzf-git bind-key -T root C-g switch-client -T fzf-git bind-key -T fzf-git C-f send-keys C-g f -bind-key -T fzf-git C-b send-keys C-g b # Doesn't work, probably because of C-b being the prefix? +bind-key -T fzf-git C-g send-keys C-g g # branches is bound to `g` since `b` doesn't work + # maybe since it conflicts w/the normal C-b prefix? bind-key -T fzf-git C-t send-keys C-g t bind-key -T fzf-git C-r send-keys C-g r bind-key -T fzf-git C-h send-keys C-g h