-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
55 lines (43 loc) · 1.26 KB
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#Prefix
set -g prefix C-a
unbind-key C-b
#utf setting
set-window-option -g mode-keys vi
set-window-option -g automatic-rename off
#gui
set -g default-terminal "screen-256color"
# View
set-option -g status on
set-option -g status-interval 2
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 90
#set-option -g status-left "#(~/tmux-powerline/powerline.sh left)"
#set-option -g status-right "#(~/tmux-powerline/powerline.sh right)"
set-option -g message-style bg=red,fg=white
set-option -g pane-active-border-style fg=cyan,bg=black
set-window-option -g window-status-current-style fg=blue
# mapping
bind 1 break-pane
bind 2 split-window -v
bind 3 split-window -h
unbind c
unbind ^C
bind ^C new-window -n zsh
bind c new-window -n zsh
#bind / list-keys -t vi-copy
# pane resize
bind -r H resize-pane -L 6
bind -r L resize-pane -R 6
bind -r J resize-pane -D 6
bind -r K resize-pane -U 6
# move pane
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r s swap-pane -U
#C-rで設定ファイルをリロード
bind r source-file ~/.tmux.conf \; display "Reloaded!"
run-shell "powerline-daemon -q"
source ~/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/powerline.conf