diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index 0d0dc14..3f34f17 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -25,14 +25,15 @@ bind F12 send-keys F12 # View current pane in editor -bind-key y { +bind y { capture-pane -J save-buffer /tmp/tmux-buffer delete-buffer display-popup -E -w 90% -h 80% "nvim /tmp/tmux-buffer" } -bind-key Y { +# View current buffer in editor +bind Y { capture-pane -J -S - -E - save-buffer /tmp/tmux-buffer delete-buffer