[misc] enable tmux-yank / disable right status bar

This commit is contained in:
Klesh Wong 2020-10-20 11:28:37 +08:00
parent 312e1361d0
commit 035261cbce

View File

@ -1,7 +1,7 @@
############################ ############################
# general # general
############################ ############################
set -g set-clipboard on # set -g set-clipboard on # rely on xterm sequence
set -g default-terminal "xterm-256color" set -g default-terminal "xterm-256color"
set -s escape-time 0 set -s escape-time 0
set -g base-index 1 set -g base-index 1
@ -62,16 +62,14 @@ bind M \
############################ ############################
set -g @yank_action 'copy-pipe' set -g @yank_action 'copy-pipe'
# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm set -g @plugin 'tmux-plugins/tmux-yank'
# tmux source ~/.tmux.conf #set -g @plugin 'kristijanhusak/tmux-simple-git-status'
# prefix + I
# plugins dir: ~/.tmux/plugins/
#set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'kristijanhusak/tmux-simple-git-status'
set -g @plugin 'klesh/tmux-open' set -g @plugin 'klesh/tmux-open'
set -g @plugin 'tmux-plugins/tmux-copycat' set -g @plugin 'tmux-plugins/tmux-copycat'
if "test ! -d ~/.tmux/plugins/tpm" \ 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'" "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' 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-separator ""
set -g window-status-current-style "bg=black,fg=white" set -g window-status-current-style "bg=black,fg=white"
set -g status-interval 5 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=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 ''