Created
June 6, 2013 12:29
-
-
Save tuxcanfly/5721143 to your computer and use it in GitHub Desktop.
This file contains 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
# vim: ft=sh | |
unbind C-b | |
set -g prefix ` | |
bind-key ` send-prefix | |
bind j select-pane -t :.+ | |
bind k select-pane -t :.- | |
set -sg escape-time 1 | |
set -g default-terminal "rxvt-unicode" | |
setw -g mode-mouse on | |
set -g mouse-select-pane on | |
set -g mouse-resize-pane on | |
set -g mouse-select-window on | |
setw -g mode-keys vi | |
setw -g main-pane-width 120 | |
# reload | |
bind r source-file ~/.tmux.conf\; display "Reloaded!" | |
# toggle maximize | |
bind m run "~/.bin/tmux-zoom.sh" | |
# split | |
bind | split-window -h | |
bind - split-window -v | |
bind = split-window -v -p 30 | |
# clipboard | |
bind -t vi-copy 'V' begin-selection | |
bind C-p run "tmux set-buffer \"$(xclip -o -selection clipboard)\"; tmux paste-buffer" | |
bind C-c run "tmux show-buffer | xclip -i -selection clipboard" | |
# resize | |
bind H resize-pane -L 5 | |
bind J resize-pane -D 5 | |
bind K resize-pane -U 5 | |
bind L resize-pane -R 5 | |
set -g status-fg white | |
set -g status-bg colour236 | |
set -g window-status-activity-attr bold | |
set -g pane-border-fg colour245 | |
set -g pane-active-border-fg colour39 | |
set -g message-fg colour255 | |
set -g message-bg colour240 | |
set -g message-attr bold | |
# powerline | |
set-option -g status on | |
set-option -g status-interval 2 | |
set-option -g status-utf8 on | |
set-option -g status-justify "left" | |
set-option -g status-left-length 60 | |
set-option -g status-right-length 90 | |
set-option -g status-left "#(~/.scripts/tmux-powerline/powerline.sh left)" | |
set-option -g status-right "#(~/.scripts/tmux-powerline/powerline.sh right)" | |
set-window-option -g window-status-current-format "#[fg=colour255, bg=colour240] #I ⮁ #W #[fg=colour240, bg=colour236]⮀" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment