Created
April 13, 2022 08:02
-
-
Save chess-seventh/2616c3ed8c42d7a539bc8b448d0e98f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# command prefix: | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# panes: | |
set-option -g pane-border-fg blue | |
set-option -g pane-border-bg default | |
set-option -g pane-active-border-fg blue | |
set-option -g pane-active-border-bg default | |
# panes start at 1 instead of 0 | |
set-option -g base-index 1 | |
set-option -g pane-base-index 1 | |
# window title: | |
set-option -g set-titles on | |
set-option -g set-titles-string '#{pane_current_command}' | |
#set-option -g set-titles-string '[#S:#I.#P] #W' | |
set-window-option -g automatic-rename on | |
# current window navigation: | |
bind-key h select-pane -L | |
bind-key j select-pane -D | |
bind-key k select-pane -U | |
bind-key l select-pane -R | |
# resizing: | |
bind-key -r C-h resize-pane -L | |
bind-key -r C-j resize-pane -D | |
bind-key -r C-k resize-pane -U | |
bind-key -r C-l resize-pane -R | |
#splitting and cycling: | |
unbind % | |
bind-key - split-window -h | |
unbind '"' | |
bind-key = split-window -v | |
bind-key u last-window | |
bind-key C-n next-window | |
bind-key C-p previous-window | |
#status bar: | |
#set -g message-attr bold | |
set -g message-fg black | |
set -g message-bg white | |
set -g status-justify right | |
set -g status-bg black | |
set -g status-fg blue | |
set -g status-interval 5 | |
set -g status-utf8 on | |
--format "#[bg=blue,fg=black]⮀#[bg=blue,fg=black] #I#[bg=blue,fg=black] #{pane_current_command} #[fg=blue,bg=black]⮀" | |
setw -g window-status-current-format "#[bg=cyan,fg=black]⮀#[bg=cyan,fg=black] #I #[bg=blue,fg=cyan]⮀ #{pane_current_command} #[bg=black,fg=blue]⮀" | |
set -g status-justify left | |
set-option -g status-right '#[fg=cyan,bg=black] ♥ ' | |
set-option -g status-left '' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment