-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
executable file
·65 lines (53 loc) · 1.99 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
# scrollback size
set -g history-limit 1000000
################################
# Keybinds
###############################
unbind r
bind r source-file ~/.tmux.conf \; display-message "tmux config reloaded!"
# Changing ctrl B to ctrl C as the command button
unbind C-b
set -g prefix C-s
# act like vim
setw -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
set -s escape-time 0 # for performance when executing things in tmux
# set first window to index 1 (not 0) to map more to the keyboard layout
set -g base-index 1
set -g pane-base-index 1
# Using the mouse to switch panes
# set -g mouse-utf8 on
set -g mouse on
set -g set-clipboard external
bind -T root MouseUp2Pane paste
################################
# Status line configurations
###############################
set -g status-justify left
set -g status-left-length 200 # increase length (from 10)
set -g status-right-length 200 # increase length (from 10)
set -g status-style 'bg=#1e1e2e' # transparent
set -g renumber-windows on # renumber all windows when any window is closed
set -g default-terminal "tmux-256color"
# tell Tmux that outside terminal supports true color
set -ga terminal-overrides ",xterm-256color*:Tc"
#List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'christoomey/vim-tmux-navigator'
# set -g @plugin 'Nybkox/tmux-kanagawa'
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_flavour 'mocha' # latte,frappe, macchiato or mocha
set -g @catppuccin_status_modules_right "application battery date_time session"
set -g @catppuccin_date_time_text "%d-%m-%Y %H:%M"
set -g @catppuccin_status_fill "all"
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g status-position top
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'