Last active
December 15, 2015 08:59
-
-
Save mostlygeek/5235286 to your computer and use it in GitHub Desktop.
.tmux.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fix for broken pbcopy in tmux | |
# see: http://superuser.com/questions/231130/unable-to-use-pbcopy-while-in-tmux-session | |
set-option -g default-command "reattach-to-user-namespace -l bash" | |
unbind C-b | |
set -g prefix C-a | |
# allow mouse navigation (on mac) between panes | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R | |
bind -n M-Up select-pane -U | |
bind -n M-Down select-pane -D | |
# set status bar color | |
set -g status-bg blue | |
set -g status-fg white | |
set-window-option -g window-status-current-bg red | |
# make it easier to split window | |
unbind % | |
bind | split-window -h | |
bind - split-window -v | |
# set default colors | |
set -g default-terminal "screen-256color" | |
# Set vi mode | |
# http://blog.sanctum.geek.nz/vi-mode-in-tmux/ | |
set-window-option -g mode-keys vi | |
# Enable mouse scrolling | |
setw -g mode-mouse on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment