-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf.v1.1
69 lines (53 loc) · 1.82 KB
/
tmux.conf.v1.1
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
#""""""""""""""""""""""""""""""""""""""""
#" TMUX OPTIONS
#""""""""""""""""""""""""""""""""""""""""
## start with window 1 (instead of 0)
set -g base-index 1
#use `<prefix>q <number>` to select panes
#use `<prefix><number>` to select windows
#use `<prefix><Ctrl><Arrows>` to adjust panes
#setw -g mode-mouse off
set -g mouse off
set -g history-limit 99999
# set default terminal mode to 256 colors
set -g default-terminal "xterm-256color"
set -g prefix `
#""""""""""""""""""""""""""""""""""""""""
#" TMUX KEYTABLE OPTIONS
#""""""""""""""""""""""""""""""""""""""""
# press <prefix> twice to send
# actual prefix keystroke to application inside tmux
bind-key ` send-prefix
# split panes using vim keys, default is % and " for vertical and horizontal respectively.
bind-key v split-window -h
bind-key s split-window -v
bind-key a last-window
# open new windows in the current path
bind-key c new-window
# reload config file
bind-key r source-file ~/.tmux.conf \; display-message 'Messgae: Tmux Configuration Reloaded'
# pane title rename
bind-key T command-prompt -p "new pane title:" 'select-pane -t "%%"'
bind-key o split-window \; split-window \; split-window \; select-layout 8afe,204x50,0,0{47x50,0,0,0,105x50,48,0[105x25,48,0,3,105x24,48,26,5],50x50,154,0,4}
# enable vi mode keys
setw -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
bind-key p paste-buffer
######################
### UX/UI CHANGES ###
######################
# be quiet
set -g visual-activity off
set -g visual-bell off
set -g bell-action none
setw -g monitor-activity off
# The clock modes `<prefix> t`
setw -g clock-mode-colour colour135
# status-left windows status-right
set -g status on
set -g status-interval 1
set -g status-justify left
set -g status-keys vi
set -g status-left-length 20
set -g status-right-length 50