-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
53 lines (41 loc) · 1.13 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
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using | and -
bind v split-window -h
bind s split-window -v
# unbind '"'
# unbind %
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Easy config reload
bind-key -r r source-file ~/.tmux.conf
set-option -g history-limit 25000
set -g mouse on
# for neovim
set -sg escape-time 10
set-option -g focus-events on
# vi for copy mode
setw -g mode-keys vi
# status bar
# set -g status-right "#(pomo)"
set -g status-style "fg=#665c54"
set -g status-left-style "fg=#928374"
set -g status-bg default
set -g status-position bottom
# This has error on neovim in windows ( line-overflow )
# set -g status-position top
set -g status-interval 1
set -g status-left "#[fg=#(pomodoro tmux-color)]#(pomodoro status) "
set -g status-left-length 13
# disable status
# set -g status off
# set -g status on
# count the panes from 1
set -g base-index 1
setw -g pane-base-index 1
# term colors, these are the correct ones according to neovim checkhealth
set-option -g default-terminal "screen-256color"