-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
78 lines (63 loc) · 2.5 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
set-option -g status on
set-option -g status-interval 2
set-option -g status-justify "left"
set-option -g status-left-length 120
set-option -g status-right-length 90
# set-option -g status-left "#($HOME/github.com/erikw/tmux-powerline/powerline.sh left)"
# set-option -g status-right "#($HOME/github.com/erikw/tmux-powerline/powerline.sh right)"
# set-hook -g session-created 'run-shell "$HOME/github.com/erikw/tmux-powerline/powerline.sh init"' # prettifies the window-status segments
bind-key C-a send-prefix
unbind %
unbind '"'
unbind C-b
setw -g mouse on
set -g base-index 1
set -g history-limit 30000
set -g pane-base-index 1
set -g set-titles on
set -g set-titles-string '#T'
set -s escape-time 50
set-option -g status-interval 5
set-option -g automatic-rename on
set-option -g automatic-rename-format '#{b:pane_current_path}'
set-option -g prefix C-a
set-option -g renumber-windows on
set-option -sg escape-time 0
set-window-option -g aggressive-resize on
set-window-option -g mode-keys vi
set -s set-clipboard on
bind -T copy-mode-vi Escape send-keys -X clear-selection
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy"
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
bind s split-window -v -c "#{pane_current_path}"
bind v split-window -h -c "#{pane_current_path}"
set-option -g status-position bottom
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_flavour 'mocha'
set -g @catppuccin_status_background "theme"
set -g @catppuccin_window_left_separator "█"
set -g @catppuccin_window_right_separator "█"
set -g @catppuccin_window_middle_separator "█ "
set -g @catppuccin_window_number_position "left"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#W"
set -g @catppuccin_status_modules_right "session date_time"
set -g @catppuccin_status_left_separator "█"
set -g @catppuccin_status_right_separator "█"
set -g @catppuccin_status_fill "all"
set -g @catppuccin_status_connect_separator "yes"
set -g @catppuccin_date_time_text "%d-%m-%Y %H:%M:%S"
set -g @catppuccin_directory_text "#{pane_current_path}"
run -b '~/.tmux/plugins/tpm/tpm'
bind r source-file ~/.tmux.conf
unbind -Troot MouseDrag1Pane