From 035261cbce0c38cb6949cb2f63beeebd202ca593 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Tue, 20 Oct 2020 11:28:37 +0800 Subject: [PATCH] [misc] enable tmux-yank / disable right status bar --- tmux/tmux.conf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 18b5f14..6b3ced5 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,7 +1,7 @@ ############################ # general ############################ -set -g set-clipboard on +# set -g set-clipboard on # rely on xterm sequence set -g default-terminal "xterm-256color" set -s escape-time 0 set -g base-index 1 @@ -62,16 +62,14 @@ bind M \ ############################ set -g @yank_action 'copy-pipe' -# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm -# tmux source ~/.tmux.conf -# prefix + I -# plugins dir: ~/.tmux/plugins/ -#set -g @plugin 'tmux-plugins/tmux-yank' -set -g @plugin 'kristijanhusak/tmux-simple-git-status' +set -g @plugin 'tmux-plugins/tmux-yank' +#set -g @plugin 'kristijanhusak/tmux-simple-git-status' set -g @plugin 'klesh/tmux-open' set -g @plugin 'tmux-plugins/tmux-copycat' if "test ! -d ~/.tmux/plugins/tpm" \ "run 'git clone --depth 1 https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" +# prefix + I +# plugins dir: ~/.tmux/plugins/ run -b '~/.tmux/plugins/tpm/tpm' ############################ @@ -93,6 +91,8 @@ set -g window-status-current-format ' #I:#W#F ' set -g window-status-separator "" set -g window-status-current-style "bg=black,fg=white" set -g status-interval 5 -set -g status-right-length 80 +#set -g status-right-length 80 #set -g status-right '#[fg=white,bg=red] prefix: C-h #[fg=black,bg=colour14,bold]#{simple_git_status}#[fg=colour14,bg=black] #(echo $USER)@#H #[fg=colour7,bg=colour4] %Y-%m-%d %H:%M ' -set -g status-right '#[fg=black,bg=colour14,bold]#{simple_git_status}' +#set -g status-right '#[fg=black,bg=colour14,bold]#{host}' +set -g status-right-length 0 +set -g status-right ''