Skip to content

Instantly share code, notes, and snippets.

@rubenruizdegauna
Last active November 23, 2016 09:33
Show Gist options
  • Save rubenruizdegauna/d46b11754d68c0940c9f to your computer and use it in GitHub Desktop.
Save rubenruizdegauna/d46b11754d68c0940c9f to your computer and use it in GitHub Desktop.
.tmux.conf
setw -g mode-mouse on
setw -g mouse-select-pane on
setw -g mouse-select-window on
setw -g mouse-utf8 on
setw -g monitor-activity on
# Maintain CTRL + ARROWS
set-window-option -g xterm-keys on
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
# STATUS BAR
set -g status-bg black
set -g status-fg white
set -g window-status-current-fg 'yellow'
set -g status-left '#[fg=green]#{session_name} #[fg=white]|'
# Navigate CTRL-arrow keys to switch panes
#bind -n C-Left select-pane -L
#bind -n C-Right select-pane -R
#bind -n C-Up select-pane -U
#bind -n C-Down select-pane -D
#Shift+arow keys to switch windows
bind -n S-Left previous-window
bind -n S-Right next-window
set-option repeat-time 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment