-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
48 lines (46 loc) · 1.78 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
set -as terminal-overrides ',xterm*:Tc:sitm=\E[3m' # italics
set -g base-index 1
set -g default-shell $SHELL
set -g default-terminal "tmux-256color"
set -g history-limit 5000
set -g mouse on
set -g pane-active-border-style "fg=default default"
set -g pane-border-style "fg=default default"
set -g prefix C-a
set -g prefix2 C-Space
set -g renumber-windows on
set -g status-interval 1
set -g status-left-length 30
set -g status-right "#(tmux-git-info '#{pane_current_path}') %a %-d %b %R"
set -g status-right-length 100
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
set -sg escape-time 1
setw -g mode-keys vi
setw -g monitor-activity on
setw -g pane-base-index 1
setw -g window-status-current-style "fg=default bg=default bright"
setw -g window-status-style "dim italics"
bind-key % split-window -h -c "#{pane_current_path}"
bind-key '"' split-window -c "#{pane_current_path}"
bind-key -n 'C-\' resize-pane -Z
bind-key -n C-h run-shell 'tmux-vim-select-pane -L'
bind-key -n C-j run-shell 'tmux-vim-select-pane -D'
bind-key -n C-k run-shell 'tmux-vim-select-pane -U'
bind-key -n C-l run-shell 'tmux-vim-select-pane -R'
bind-key -n M-k clear-history
bind-key -n M-l send-keys "C-l"
bind-key -n M-r source-file ~/.tmux.conf
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
bind-key -r H resize-pane -L 10
bind-key -r I run-shell 'tmux-irb #{pane_current_path}'
bind-key -r J resize-pane -D 10
bind-key -r K resize-pane -U 10
bind-key -r L resize-pane -R 10
bind-key -r M-k clear-history
bind-key -r M-l send-keys "C-l"
bind-key -r P run-shell 'tmux-psql #{pane_current_path}'
bind-key -r | split-window -h -c "#{pane_current_path}"
bind-key C-a send-prefix
bind-key c new-window -c "#{pane_current_path}"
run-shell "tmux-apply-colorscheme Solarized Light"