Created
February 28, 2013 08:35
-
-
Save andreyp/5055213 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
# base | |
set -g set-titles on | |
set -g set-titles-string "#H > #W" | |
# automatically set window title | |
setw -g automatic-rename | |
set -g base-index 1 | |
set -g history-limit 5000 | |
# mouse scrolling | |
#set -g mode-mouse on | |
#set window notifications | |
#setw -g monitor-activity on | |
#set -g visual-activity on | |
set -g display-time 2000 | |
set -g status-interval 10 | |
# keys | |
unbind C-b | |
set -g prefix C-a | |
set -g status-keys vi | |
setw -g mode-keys vi | |
# switch between tabs with alt+larrow && alt+rarrow | |
bind-key -n M-Right next | |
bind-key -n M-Left prev | |
# vim resize panel | |
bind < resize-pane -L 1 | |
bind > resize-pane -R 1 | |
# splitting | |
unbind % | |
bind h split-window -h | |
unbind '"' | |
bind v split-window -v | |
# last window | |
unbind l | |
bind a last-window | |
# reload config | |
bind r source-file ~/.tmux.conf | |
# kill current window | |
bind-key k confirm kill-window | |
# detach | |
bind-key -n C-j detach | |
# switch windows alt+number | |
bind-key -n M-1 select-window -t 1 | |
bind-key -n M-2 select-window -t 2 | |
bind-key -n M-3 select-window -t 3 | |
bind-key -n M-4 select-window -t 4 | |
bind-key -n M-5 select-window -t 5 | |
bind-key -n M-6 select-window -t 6 | |
bind-key -n M-7 select-window -t 7 | |
bind-key -n M-8 select-window -t 8 | |
bind-key -n M-9 select-window -t 9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment