-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux-conf
70 lines (56 loc) · 2.49 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# .tmux.conf - Intended for Cygwin + Solarized Theme - borrowed from http://cygwin.rafaelhart.com/dotfiles/tmux-conf/
#
# Options to enable mouse support in Tmux
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# For Tmux < 2.1
#set -g mode-mouse on
#set -g mouse-select-pane on
#set -g mouse-resize-pane on
# For Tmux >= 2.1
set -g mouse on
#set -g mouse-select-window on #for Tmux < 2.1
#set -g mouse-select-pane on #for Tmux < 2.1
bind-key -n C-S-Up select-pane -U #These keybindings allow you to
bind-key -n C-S-Down select-pane -D #change the active pane with
bind-key -n C-S-Left select-pane -L #Ctrl-Shift-ArrowKey
bind-key -n C-S-Right select-pane -R
set -sg escape-time 250 #Allows tmux to work on Cygwin
unbind C-b #Changes default keys
set -g prefix C-a #to Ctrl+A, like GNU screen
# Use <C-a> instead of the default <C-b> as Tmux prefix - done in 3 lines above
# set-option -g prefix C-a
# unbind-key C-b
# bind-key C-a send-prefix
# == COLOUR Scheme (to work with Solarized dark) ==
# Status Bar Colours
set-option -g status-fg yellow #Status Bar fg
set-option -g status-bg black #Status Bar bg
set-option -g status-attr default
set-window-option -g window-status-current-fg brightred #Active Window fg
set-window-option -g window-status-current-bg default #Active Window bg
# default window title colors
set-window-option -g window-status-fg brightblue #base0
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
# Window Pane Border Colours
set-option -g pane-border-fg brightgreen #Window Border
set-option -g pane-active-border-fg brightgreen #Active Window Border
# message text
set-option -g message-bg black #base02
set-option -g message-fg brightred #orange
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green
# Act more like vim:
set-window-option -g mode-keys vi
#bind h select-pane -L
#bind j select-pane -D
#bind k select-pane -U
#bind l select-pane -R
unbind p
bind p paste-buffer
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-selection