Last active
November 9, 2022 16:43
-
-
Save babasbot/cc176bf8c7ae7c0f55aed30aa7950fb4 to your computer and use it in GitHub Desktop.
tmux configs
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
# See: https://www.man7.org/linux/man-pages/man1/tmux.1.html | |
unbind C-b | |
set-option -g prefix C-a | |
set -g default-terminal "term-256color-italic" | |
set -g mouse on | |
set -g escape-time 10 | |
set -g automatic-rename on | |
set -g status-interval 30 | |
set -g base-index 1 | |
set -g pane-base-index 1 | |
set -g status-bg black | |
set -g status-fg brightwhite | |
set -g status-left ' #[fg=cyan,bold italics]#S #[fg=magenta]~' | |
set -g status-left-length 16 | |
set -g window-status-current-format ' #[fg=brightwhite,bold]#I:#W#[fg=brightred]#F' | |
set -g window-status-format ' #[fg=brightwhite,dim]#I:#W#[fg=red]#F' | |
set -g status-right '#[fg=brightwhite,bold dim]#(powr) · #(curl "wttr.in?format=1") · %a %d %b %I:%m %p ' | |
set -g status-right-length 50 | |
bind C-c new-session | |
bind _ split-window -v | |
bind | split-window -h | |
bind -r h select-pane -L | |
bind -r j select-pane -D | |
bind -r k select-pane -U | |
bind -r l select-pane -R | |
bind -r H resize-pane -L 2 | |
bind -r J resize-pane -D 2 | |
bind -r K resize-pane -U 2 | |
bind -r L resize-pane -R 2 | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-yank' | |
set -g @plugin 'tmux-plugins/tmux-urlview' | |
run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment