Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 88 lines (67 sloc) 2.152 kb
0f69d5f added tmux layout file
Tyler Ball authored
1 set -g prefix C-a
2 bind-key C-a last-window
3
23644a3 more keys
Tyler Ball authored
4 # act like vim
5 setw -g mode-keys vi
6
0f69d5f added tmux layout file
Tyler Ball authored
7 unbind %
8 bind | split-window -h
9 bind - split-window -v
23644a3 more keys
Tyler Ball authored
10 bind-key -n C-j resize-pane -D 5
11 bind-key -n C-l resize-pane -R 5
12 bind-key -n C-k resize-pane -U 5
13 bind-key -n C-h resize-pane -L 5
14
15 bind-key -n C-up select-pane -U
16 bind-key -n C-left select-pane -L
17 bind-key -n C-right select-pane -R
18 bind-key -n C-down select-pane -D
19
20 bind-key -n C-'[' prev
21 bind-key -n C-']' next
22
23 # Collapse
24 bind-key -n C-b resize-pane -D 100
899e781 tab binding
Tyler Ball authored
25
5d1b156 some more tmux bindings
Tyler Ball authored
26 unbind ^x
27 bind ^x kill-pane
28
899e781 tab binding
Tyler Ball authored
29 # quick pane cycling
30 unbind ^A
31 bind ^A select-pane -t :.+
0f69d5f added tmux layout file
Tyler Ball authored
32
8f100bd default to 256 colours
Tyler Ball authored
33 # default to 256 colours
34 set -g default-terminal "screen-256color"
35
5d1b156 some more tmux bindings
Tyler Ball authored
36 # reload config
37 unbind r
38 bind r source-file ~/.tmux.conf
39
23644a3 more keys
Tyler Ball authored
40 # start ordering at 1
41 set -g base-index 1
42
43 # don't constrain size of sessions based on smallest window
44 setw -g aggressive-resize on
45
46 # Allows for faster key repetition
47 set -s escape-time 0
48
bbb47f3 tmux colours
Tyler Ball authored
49 ## set status bar
50 set-option -g status-utf8 on
51 set-option -g status-bg colour3
52 set-option -g status-fg colour236
53
54 #set-option -g status-left '⣿'
55 #set-option -g status-right '⡇ #[bold]❐ #S:#I#[default] ⡇ #[bold]#(whoami) ●
56 #H#[default] '
57 #set-option -g status-right '⡇ ❐ #S ⡇ ❖ #(rvm tools identifier) ⡇ #(whoami) ●
58 #H '
59 set-option -g status-left ' #[bold]❐ #S#[default] ⡇'
60 set-option -g status-right '#[bold]#(whoami) ● #H#[default] '
61
62 set-option -g status-right-length 60
63 set-option -g status-left-length 60
64
65 ## highlight active window
66 set-window-option -g window-status-current-bg colour208
67 set-window-option -g window-status-current-fg colour234
68 set-window-option -g window-status-current-attr bold
69 set-window-option -g window-status-current-format ' #I #W '
70
71 ## set window notifications
72 set-option -g visual-activity on
73 set-option -g visual-content on
74 set-window-option -g monitor-activity on
6aa4ad7 turned on window rename
Tyler Ball authored
75 set-window-option -g automatic-rename on
bbb47f3 tmux colours
Tyler Ball authored
76
77 ## enable mouse
78 set-option -g mouse-select-pane on
79 set-window-option -g mode-keys vi
80 set-window-option -g mode-mouse on
81
82 ## pane border and colors
83 set-option -g pane-active-border-fg yellow
84 set-option -g pane-border-fg white
0f69d5f added tmux layout file
Tyler Ball authored
85
86 # dev layout
6978897 added tmux window layout
Tyler Ball authored
87 bind P source-file ~/.tmux/dev
Something went wrong with that request. Please try again.