Skip to content

Instantly share code, notes, and snippets.

@MarcosX
Last active December 20, 2015 08:59
Show Gist options
  • Save MarcosX/6104811 to your computer and use it in GitHub Desktop.
Save MarcosX/6104811 to your computer and use it in GitHub Desktop.
tmux.conf file
#Set prefix command to Control-\
unbind-key C-b
set-option -g prefix 'C-\'
#jump to last open window
bind-key 'C-\' last-window
#count windows from 1
set -g base-index 1
#avoid renaming windows
set-option -g allow-rename off
#change status bar
set -g status-left ""
set -g status-right "#[fg=white]#H #(date +'%a, %d %b %Y, %R')"
#highlight active window
set-window-option -g window-status-current-bg green
#mouse scrolling
set -g mode-mouse on
#create new window with the previous window path
bind-key c new-window -c "#{pane_current_path}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment