-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathtmux.conf
More file actions
39 lines (27 loc) · 1016 Bytes
/
tmux.conf
File metadata and controls
39 lines (27 loc) · 1016 Bytes
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
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g default-terminal "screen-256color"
# Статус-бар настраивается в файле темы
set -g status-position bottom
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
set -g mouse on
set -s escape-time 0
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
########### key bindings
# reload tmux config with C-a r
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
# open new vertical split with C-a V (in current directory)
bind V split-window -h -c "#{pane_current_path}"
# open new horizontal split with C-a H (in current directory)
bind H split-window -c "#{pane_current_path}"
# clear screen with C-a C-l
bind C-l send-keys 'C-l'
###########
if-shell "test -f ~/.tmux/theme.conf" "source ~/.tmux/theme.conf"
run -b '~/.tmux/plugins/tpm/tpm'