dotfiles

My dotfiles, nothing really interesting to see ...
git clone https://git.onna.be/dotfiles.git
Log | Files | Refs | README

commit ae6b2b0082ec14bef8d186e256bb6ee87fb04100
parent a2578a61e35036956370bd6ba4eaa2ea58d823e3
Author: Paco Esteban <paco@onna.be>
Date:   Wed, 27 Jun 2018 12:43:43 +0200

back to default tmux status bar, for better compatibility between systems

Diffstat:
tmux/.tmux.conf | 16++--------------
1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf @@ -1,6 +1,6 @@ run-shell "tmux setenv -g MYOS $(uname)" if-shell '[ "$MYOS" == "Darwin" ]' 'set-option -g default-command "reattach-to-user-namespace -l zsh"' -if-shell '[ "$MYOS" == "Linux" ]' 'set -g default-command zsh' +if-shell '[ "$MYOS" != "Darwin" ]' 'set -g default-command zsh' set -g default-terminal "screen-256color" set -g status-interval 5 set -g status-justify left @@ -75,7 +75,7 @@ bind -r L resize-pane -R 5 set-window-option -g mode-keys vi bind-key -T copy-mode-vi v send-keys -X begin-selection if-shell '[ "$MYOS" == "Darwin" ]' 'bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"' -if-shell '[ "$MYOS" == "Linux" ]' 'bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -selection clipboard"' +if-shell '[ "$MYOS" != "Darwin" ]' 'bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -selection clipboard"' ## ---------- ## Status Bar @@ -106,21 +106,9 @@ set-window-option -g window-status-current-fg colour255 set-window-option -g window-status-current-bg colour27 set-window-option -g window-status-current-attr bold -setw -g window-status-separator ' ' -setw -g window-status-format '#I  #W#F' -setw -g window-status-current-format '#[fg=colour250,bg=colour27,nobold,nounderscore,noitalics]#[fg=white,bg=colour27,bold]#I  #W #[fg=colour27,bg=colour250,nobold,nounderscore,noitalics]' - -# status bar -#set -g status-right "#{?pane_synchronized,#[fg=colour160]#[bg=colour250]#[fg=colour255]#[bg=colour160]**SYNC**#[fg=colour234]#[bg=colour160],#[fg=colour234,bg=white,nobold,nounderscore,noitalics]}#[fg=colour250,bg=colour234] %a #[fg=colour247,bg=colour234]#[fg=colour247,bg=colour234] %b %d  %R #[fg=colour250,bg=colour234,nobold,nounderscore,noitalics]#[fg=black,bg=colour250] #H " -set -g status-right "#{?window_zoomed_flag,#[fg=colour160]#[bg=colour250]#[fg=colour255]#[bg=colour160]**ZOOM**#[fg=colour234]#[bg=colour160],#{?pane_synchronized,#[fg=colour160]#[bg=colour250]#[fg=colour255]#[bg=colour160]**SYNC**#[fg=colour234]#[bg=colour160],#[fg=colour234,bg=white,nobold,nounderscore,noitalics]}}#[fg=colour250,bg=colour234] %a #[fg=colour247,bg=colour234]#[fg=colour247,bg=colour234] %b %d  %R #[fg=colour250,bg=colour234,nobold,nounderscore,noitalics]#[fg=black,bg=colour250] #H " - - ## ------------------ ## personal bind keys ## ------------------ -#bind-key -c "S" neww -n sam "ssh sam" -bind-key -c "G" neww -n galadriel "ssh galadriel" - bind-key -c "S" setw synchronize-panes on bind-key -c "O" setw synchronize-panes off