From aeb391eda03ba563aa5f992933828e7e9b38cec3 Mon Sep 17 00:00:00 2001 From: Konstantin Bukley Date: Tue, 1 Nov 2022 22:29:08 +0200 Subject: [PATCH] tmux: update --- tmux/.tmux.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index edee35d..3f198f9 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -24,8 +24,9 @@ set -g renumber-windows on # https://github.com/tmux/tmux/issues/353#issuecomment-265154018 set -g focus-events off -set-option -g default-terminal "screen-256color" -set-option -ga terminal-overrides ',*-256color*:Tc' +# https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6 +set -g default-terminal "tmux-256color" +set -ag terminal-overrides ",xterm-256color:RGB" # => Theme set -g status-style fg=white,bg=black @@ -89,8 +90,8 @@ unbind-key -T copy-mode-vi v bind-key -T copy-mode-vi 'v' send -X begin-selection # Begin selection in copy mode. bind-key -T copy-mode-vi 'C-v' send -X rectangle-toggle # Begin selection in copy mode. bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "pbcopy" # Yank selection in copy mode. -bind-key -T copy-mode-vi 'K' send -X halfpage-up -bind-key -T copy-mode-vi 'J' send -X halfpage-down +bind-key -T copy-mode-vi 'H' send -X back-to-indentation +bind-key -T copy-mode-vi 'L' send -X end-of-line bind N new-session