-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
38 lines (26 loc) · 872 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
# beginnings of a tmux configuration
# references
#
# https://www.golinuxcloud.com/tmux-config/#tmux_configuration_file_tmuxconf
# Setting the prefix from C-b to C-a
# the bind immediately following allows C-a to be sent to the application
# by hitting the prefix twice
set -g prefix C-a
bind C-a send-prefix
# Free the original Ctrl-b prefix keybinding
unbind C-b
#setting the delay between prefix and command
set -s escape-time 5
# Set the base index for windows to 1 instead of 0
set -g base-index 1
# Set the base index for panes to 1 instead of 0
set -g pane-base-index 1
# Set bind key to reload configuration file
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# splitting panes with | and -
bind | split-window -h
bind - split-window -v
# Enable mouse support
set -g mouse on
# set the status line's colors
set -g status-style fg=white,bg=blue