aboutsummaryrefslogtreecommitdiffstats
path: root/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmux.conf b/tmux.conf
index 26b0ff9..a85d943 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -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'