dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit a03bfbb91550a7bc5a2473c87f2a6fbb9d8fa8b0
parent 9504f9fdf8fbc486adf3ae471f82c987ab0c2581
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Thu, 20 May 2021 11:12:21 +0200

tmux: fix translate command auto-exit

Diffstat:
Mtmux/tmux-dark.conf | 2+-
Mtmux/tmux-light.conf | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tmux/tmux-dark.conf b/tmux/tmux-dark.conf @@ -72,7 +72,7 @@ bind -T copy-mode-vi 'Y' send -X copy-pipe-and-cancel "clc" bind-key -T copy-mode-vi 'u' send-keys -X copy-selection \; new-window -n youtube \; send-keys -t youtube 'pipe-viewer "$(tmux show-buffer)" && tmux kill-window' 'Enter' # Translate to english -bind-key -T copy-mode-vi 'T' send -X copy-selection-and-cancel \; display-popup -E 'trans "$(tmux show-buffer)" | less -RiX' +bind-key -T copy-mode-vi 'T' send -X copy-selection-and-cancel \; display-popup -E 'trans "$(tmux show-buffer)" | LESS=-RiX less' # Cancel bind-key -T copy-mode-vi 'i' send-keys -X cancel diff --git a/tmux/tmux-light.conf b/tmux/tmux-light.conf @@ -71,7 +71,7 @@ bind -T copy-mode-vi 'Y' send -X copy-pipe-and-cancel "clc" bind-key -T copy-mode-vi 'u' send-keys -X copy-selection \; new-window -n youtube \; send-keys -t youtube 'pipe-viewer "$(tmux show-buffer)" && tmux kill-window' 'Enter' # Translate to english -bind-key -T copy-mode-vi 'T' send -X copy-selection-and-cancel \; display-popup -E 'trans "$(tmux show-buffer)" | less -RiX' +bind-key -T copy-mode-vi 'T' send -X copy-selection-and-cancel \; display-popup -E 'trans "$(tmux show-buffer)" | LESS=-RiX less' # Cancel bind-key -T copy-mode-vi 'i' send-keys -X cancel