diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 85e7133..cc757fe 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -31,10 +31,10 @@ bind k select-pane -U bind l select-pane -R # page up/down -bind-key -n S-PageUp copy-mode -u -bind-key -n S-PageDown copy-mode -bind-key -T copy-mode S-PageUp send-keys -X page-up -bind-key -T copy-mode S-PageDown send-keys -X page-down +bind-key -n PageUp copy-mode -u +bind-key -n PageDown copy-mode +bind-key -T copy-mode C-PageUp send-keys -X page-up +bind-key -T copy-mode C-PageDown send-keys -X page-down #join window bind-key @ command-prompt -p "create pane from:" "join-pane -s ':%%'" @@ -53,32 +53,39 @@ set -g mode-keys vi ## tmux >= 2.1 #set -g mouse on - bind-key Tab last-window bind-key BTab previous-window # prefix-r to reload tmux config bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded" -# Basic status bar colors -set-option -g status-bg default -set-option -g status-fg white +### +### Status Bar Configuration +### -# Left side of status bar -set-option -g status-left-length 40 -set-option -g status-left "#[fg=colour18,bg=colour12] #S #[fg=default,bg=default] " +## Basic status bar colors +#set-option -g status-bg default +#set-option -g status-fg white -# Window status -set-option -g window-status-format "#[fg=colour18,bg=brightblack] #I #[fg=white,bg=black] #W " -set-option -g window-status-current-format "#[fg=colour18,bg=colour7] #I #[fg=colour18,bg=colour4] #W " -set-option -g window-status-separator " " -set-option -g status-justify left +## Left side of status bar +#set-option -g status-left-length 40 +#set-option -g status-left "#[fg=colour18,bg=colour12] #S #[fg=default,bg=default] " -# Right side of status bar -set-option -g status-right-length 40 -## includes the time in the right status -#set-option -g status-right " #[fg=brightwhite,bg=black] %a, %d %b %H:%M #[fg=colour18,bg=colour4] #(whoami)@#h " -set-option -g status-right " #[fg=colour18,bg=colour4] #(whoami)@#h " +## Window status +#set-option -g window-status-format "#[fg=colour18,bg=brightblack] #I #[fg=white,bg=black] #W " +#set-option -g window-status-current-format "#[fg=colour18,bg=colour7] #I #[fg=colour18,bg=colour4] #W " +#set-option -g window-status-separator " " +#set-option -g status-justify left + +## Right side of status bar +#set-option -g status-right-length 40 +### includes the time in the right status +##set-option -g status-right " #[fg=brightwhite,bg=black] %a, %d %b %H:%M #[fg=colour18,bg=colour4] #(whoami)@#h " +#set-option -g status-right " #[fg=colour18,bg=colour4] #(whoami)@#h " + +### +### End Status Bar Configuration +### # Pane border #set-option -g pane-border-style bg=brightblack,fg=brightblack