Skip to content

Instantly share code, notes, and snippets.

@drocha87
Created April 16, 2021 23:31
Show Gist options
  • Save drocha87/700ed15746586149245e056b092cee33 to your computer and use it in GitHub Desktop.
Save drocha87/700ed15746586149245e056b092cee33 to your computer and use it in GitHub Desktop.
Tmux Configuration
set -g default-terminal "xterm-256color"
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
set -g status-keys vi
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
set -g mouse on
set -g monitor-activity on
bind-key v split-window -h
bind-key s split-window -v
# No delay for escape key press
set -sg escape-time 0
# Reload tmux config
bind r source-file ~/.tmux.conf
# THEME
set -g status-bg black
set -g status-fg white
set-window-option -g window-status-current-style bg=white
set-window-option -g window-status-current-style fg=yellow
set -g status-style "bold"
set -g status-interval 60
set -g status-left-length 30
set -g status-left ' #[fg=green](#S) #(whoami) '
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=white]%d/%m %H:%M#[default] '
# source-file "${HOME}/.tmux-themepack/powerline/default/green.tmuxtheme"
# source-file ${HOME}/.tmux-themepack/powerline/default/cyan.tmuxtheme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment