-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.tmux.conf
42 lines (30 loc) · 803 Bytes
/
.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
# permettre le scrolling avec ctrl-pgup/pgdown
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
set-option -g prefix M-z
setw -g xterm-keys on
# " windowlist -b
unbind '"'
bind '"' choose-window
# split -v |
unbind |
bind | split-window -h
# split -
unbind -
bind - split-window
# title A
unbind A
bind A command-prompt "rename-window %%"
# More scrollback
set-option -g history-limit 5000
# Lower escape time, because else it's just annoying
set-option -s escape-time 10
set-window-option -g mode-keys vi
# Scroll with the mouse
set -g mouse on
set -g default-terminal "tmux-256color"
# Change windows with HJKL
bind-key -r -T prefix h select-pane -L
bind-key -r -T prefix j select-pane -D
bind-key -r -T prefix k select-pane -U
bind-key -r -T prefix l select-pane -R
bind -n M-v copy-mode