Skip to content

Instantly share code, notes, and snippets.

@grekko
Created April 1, 2016 10:32
Show Gist options
  • Save grekko/ead4413a92ee45907fdd96d784516632 to your computer and use it in GitHub Desktop.
Save grekko/ead4413a92ee45907fdd96d784516632 to your computer and use it in GitHub Desktop.
My local tmux conf
# color settings
# http://www.drbunsen.org/the-text-triumvirate/
set -g default-terminal "screen-256color"
# Status bar
set -g window-status-format "#[fg=colour244,bg=colour234]#I#[fg=colour240]|#[fg=colour249]#W"
set -g window-status-current-format "#[fg=colour117,bg=colour31] [#I] #[fg=colour231,bold]#W "
# using C-q instead of C-b
set-option -g prefix C-q
# Start with 1 instead of 0
set -g pane-base-index 1
# Configure tmux to use this wrapper program to start the shell for each new window.
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
set-option -g default-command "/usr/local/bin/reattach-to-user-namespace -l $SHELL"
# Overwrite creating windows/tabs
bind c new-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment