Created
April 13, 2012 10:27
-
-
Save saimonmoore/2375649 to your computer and use it in GitHub Desktop.
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
set -g prefix C-x | |
unbind C-b | |
bind C-x send-prefix | |
# set -sg escape-time 1 | |
# set -g base-index 1 | |
bind r source-file ~/.tmux.conf; display "Reloaded!" | |
bind | split-window -h | |
bind - split-window -v | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind-key J resize-pane -D 5 | |
bind-key K resize-pane -U 5 | |
bind-key H resize-pane -L 5 | |
bind-key L resize-pane -R 5 | |
bind -r C-h select-window -t :- | |
bind -r C-l select-window -t :+ | |
setw -g mode-keys vi | |
setw -g mode-mouse on | |
set -g mouse-select-pane on | |
set -g mouse-resize-pane on | |
set -g mouse-select-window on | |
set -g default-terminal "screen-256color" | |
set -g status-justify centre | |
# copy to osx | |
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard | |
set-option -g default-command "reattach-to-user-namespace -l bash" | |
bind ^y run-shell "reattach-to-user-namespace -l bash -c 'tmux showb | pbcopy'" | |
set-window-option -g alternate-screen on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment