From f891621d148e9b87db1432d305e83133225afe12 Mon Sep 17 00:00:00 2001 From: DustVoice Date: Thu, 3 Sep 2020 21:15:33 +0200 Subject: [PATCH] Re-Add RGB controls --- .tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index c7528a20..40c631a5 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -20,3 +20,5 @@ bind-key -T copy-mode-vi Escape send -X cancel bind-key -n C-p run "xclip -o | tmux load-buffer -" bind-key -n C-y run "tmux show-buffer | xclip -i -sel p -f | xclip -i -sel c" + +bind-key -n C-e run "tmux setenv TMUX_PANE_CONTENT \"$(tmux capture-pane -p | sed 's/\\\"/\\\\\"/g')\" && tmux new-window -n:edit_pane \"echo $TMUX_PANE_CONTENT | nvim \\\"+normal G\\\" \\\"+set filetype=zsh\\\" -\" && tmux setenv -u TMUX_PANE_CONTENT"