Skip to content

Instantly share code, notes, and snippets.

@nexxeln
Last active January 23, 2023 14:23
Show Gist options
  • Save nexxeln/327f13e96254fc63b0fa02c18ae85036 to your computer and use it in GitHub Desktop.
Save nexxeln/327f13e96254fc63b0fa02c18ae85036 to your computer and use it in GitHub Desktop.
unbind C-b
set -g prefix `
unbind r
bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf"
set -g mouse on
set-option -sg escape-time 10
set-option -g focus-events on
set -sg terminal-overrides ",*:RGB"
set -g history-limit 100000
unbind n # DEFAULT KEY: Move to next window
unbind w # DEFAULT KEY: change current window interactively
bind n command-prompt "rename-window '%%'"
bind w new-window -c "#{pane_current_path}"
set -g base-index 1
set-window-option -g pane-base-index 1
set-window-option -g mode-keys vi
# theme
set -g pane-border-style fg='#757581'
set -g pane-active-border-style fg='#e29eca'
set -g message-style bg='#161617',fg='#ea83a5'
set -g status-style bg='#161617',fg='#aca1cf'
set -g status-interval 1
set -g status-right '#[fg=#8be9fd,bg=#161617] #(tmux-mem-cpu-load -g 5 --interval 2) '
set -ga status-right '#[fg=#ff79c6,bg=#161617] #(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") '
set -ga status-right '#[fg=#bd93f9,bg=#161617] %a %H:%M:%S'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment