Skip to content

Instantly share code, notes, and snippets.

@joelparker
Last active August 28, 2023 23:30
Show Gist options
  • Save joelparker/2bb29ea97e4b08379e00587717b3056c to your computer and use it in GitHub Desktop.
Save joelparker/2bb29ea97e4b08379e00587717b3056c to your computer and use it in GitHub Desktop.
Default ~/.tmux.conf configuration
#https://wiki.archlinux.org/index.php/Tmux#Key_bindings
unbind C-b
set -g prefix C-j
bind C-j last-window
#bind C-j send-prefix
#unbind-key C-n
#unbind-key C-p
#bind-key C-n next-window
#bind-key C-p previous-window
bind | split-window -h
bind - split-window -v
set-option -g status-right '#[fg=white,nobright][#[fg=black,bright]#(uptime | rev | cut -d":" -f1 | rev | sed s/,//g )#[fg=white,nobright]][#[fg=black,bright]%m/%d %H:%M#[fg=white,nobright]]'
#reload ~/.tmux.conf using PREFIX r
bind r source-file ~/.tmux.conf ; display "Reloaded!"
setw -g aggressive-resize on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment