pull/2/head
Alpha Chen 2 years ago
parent 837b2cf7b0
commit 1283bf7c73
No known key found for this signature in database

@ -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

Loading…
Cancel
Save