diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-18 19:07:51 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-18 19:07:51 +0100 |
commit | 726dde6a048a477725e877d65abae91161397fad (patch) | |
tree | 1f6e8d2c79545a708a6b91f05ad2750a4be5eefe /tmux.conf | |
parent | 755669574124db68660ca70363a8585f4fbba8a3 (diff) |
Adds binding for fzf-nova
Diffstat (limited to 'tmux.conf')
-rw-r--r-- | tmux.conf | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -14,6 +14,9 @@ set-option -g focus-events on # command sequence for nested tmux sessions bind-key a send-prefix +# fzf-nova +bind-key Tab capture-pane \; save-buffer /tmp/tmux-buffer \; delete-buffer \; display-popup -w 80% -h 60% -E "/home/lemon/src/fzf-nova/fzf-nova" + # Automatically copy selected text to PRIMARY and CLIPBOARD bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection-and-cancel\; run-shell -b "tmux show-buffer | xclip -selection primary -i && tmux show-buffer | xclip -selection clipboard -i" bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X select-pane \; send-keys -X copy-selection-and-cancel\; run-shell -b "tmux show-buffer | xclip -selection primary -i && tmux show-buffer | xclip -selection clipboard -i" @@ -253,7 +256,7 @@ set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @resurrect-save 'Q' set -g @resurrect-restore 'R' - + run-shell ~/.tmux-resurrect/resurrect.tmux # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm' |