Created
June 10, 2014 17:05
-
-
Save thenickcox/2494bec9735c8cbd4701 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
# Hide status bar | |
set -g status off | |
# Turn off automatic window renaming | |
set-window-option -g automatic-rename off | |
# Set colors | |
set -g default-terminal "screen-256color" | |
# Copy/paste support workaround | |
set-option -g default-command "reattach-to-user-namespace -l bash" | |
# remap prefix to Control + f | |
unbind C-b | |
set -g prefix C-f | |
# remap window splitting | |
unbind % | |
bind \ split-window -h | |
bind - split-window -v | |
# force a reload of the config file | |
#unbind r | |
#bind r source-file ~/.tmux.conf | |
# Change f to zoom | |
unbind f | |
bind f resize-pane -Z | |
# Change panes with home row | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# vi-mode for selecty (prefix-[) mode | |
#set-window-option -g mode-keys vi | |
bind-key -t vi-copy 'v' begin-selection | |
unbind -t vi-copy Enter | |
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment