Skip to content

Instantly share code, notes, and snippets.

@rpetrenko
Created March 13, 2017 02:54
Show Gist options
  • Save rpetrenko/e209a2216b0a7a74ad0b0468b5bd51ff to your computer and use it in GitHub Desktop.
Save rpetrenko/e209a2216b0a7a74ad0b0468b5bd51ff to your computer and use it in GitHub Desktop.
tmux config
# for screen-like experience
set -g prefix C-j
# to use ctrl+a+a as in screen
bind-key C-j last-window
# modify pane splitting bindings
unbind %
bind | split-window -h
bind - split-window -v
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green]#H'
# Highlight active window
set-window-option -g window-status-current-bg red
set -g status-right '#[fg=yellow]#(uptime | cut -d ":" -f -2)'
# Set window notifications
#setw -g monitor-activity on
#set -g visual-activity on
# Automatically set window title
setw -g automatic-rename off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment