dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit c4394c01f155e3fba9bf5b0587c2204f11b7bfa9
parent da1aa9d9d544e0c0094c16f0881017c3371b8352
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 23 Jun 2019 15:43:43 -0700

Update tmux config for tmux v2.8

* Eliminate utf-8 options, which are no longer necessary.
* Update mouse disabling to use the 'mouse' option.
* Update bind-key to use new -T and -X options.
* Eliminate window-status-content-attr.

Diffstat:
M.tmux.conf | 14++++----------
1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -5,25 +5,20 @@ set -g prefix C-a unbind-key C-b bind-key C-a send-prefix -# utf8 support -set-window-option -g utf8 on -set-option -g status-utf8 on - # keybindings set-window-option -g mode-keys vi set-option -g status-keys vi unbind p bind p paste-buffer -bind-key -t vi-copy 'v' begin-selection -bind-key -t vi-copy 'y' copy-selection -bind-key -t vi-copy 'r' rectangle-toggle +bind-key -T copy-mode-vi 'v' send-keys -X begin-selection +bind-key -T copy-mode-vi 'y' send-keys -X copy-selection +bind-key -T copy-mode-vi 'r' send-keys -X rectangle-toggle bind C-j next-window bind C-k previous-window bind C-c new-window # disable mouse -set-window-option -g mode-mouse off -set-option -g mouse-select-pane off +set-option -g mouse off # status bar set-option -g status-fg white @@ -31,7 +26,6 @@ set-option -g status-bg default set-window-option -g window-status-current-attr bold set-window-option -g window-status-current-fg yellow set-window-option -g window-status-activity-attr none -set-window-option -g window-status-content-attr none set-option -g status-left-length 2 set-option -g status-left '#[fg=green][ ' set-option -g status-right-length 35