Last active
January 4, 2025 18:31
-
-
Save h-otter/1c81f3d206182bcd8da8d6a6b78b1b53 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# -- default shell -- | |
set-option -g default-shell /bin/zsh | |
set-option -g default-command /bin/zsh | |
# -- prefix -- | |
set -g prefix C-s | |
unbind C-b | |
# -- line max -- | |
set -g history-limit 50000 | |
# -- mouse -- | |
set -g mouse on | |
# -- keybind -- | |
## copy | |
bind Space copy-mode | |
bind p paste-buffer | |
bind P choose-buffer | |
## change pane | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
## change window | |
bind C-c new-window | |
bind C-p previous-window | |
bind C-n next-window | |
bind C-l list-window | |
## kill pane or window | |
bind C-k confirm-before -p "kill-pane? (y/n)" kill-pane | |
bind S set-window-option synchronize-panes | |
# -- design -- | |
set-option -g status-interval 1 | |
set-option -g status-style bg="colour238",fg="colour255" | |
set-option -g status-left-length 20 | |
set-option -g status-left "#[fg=colour255,bg=colour241]Session: #S #[default]" | |
set-option -g status-right-length 40 | |
set-option -g status-right '#[fg=colour255,bg=colour241] #h | %m/%d %H:%M:%S#[default]' | |
set-option -g pane-active-border-style fg=brightblue | |
set-window-option -g window-status-format "#I: #W" | |
set-window-option -g window-status-current-style bg="colour27",fg="colour255" | |
set-window-option -g window-status-current-format " #I: #W " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
good bye byobu