-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
82 lines (63 loc) · 2.16 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
79
80
81
82
unbind r
bind r source-file ~/.tmux.conf
unbind C-b
# Set the new prefix to F12 (assuming Caps Lock is mapped to F12)
set -g prefix F12
# Bind F12 to send the prefix key
bind F12 send-prefix
# Optional: Reduce escape time for faster response
set -s escape-time 0
bind \\ split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
unbind '"'
unbind %
bind-key x kill-pane # skip "kill-pane 1? (y/n)" prompt
set -g base-index 1
set -g renumber-windows on
set-option -g detach-on-destroy off
# 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-option -g status-position top
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
set -g @t-fzf-prompt ' '
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
# Rosé Pine theme
set -g @plugin 'rose-pine/tmux'
set -g @rose_pine_variant 'moon'
set -g @rose_pine_host 'on'
set -g @rose_pine_date_time ''
set -g @rose_pine_user 'on'
set -g @rose_pine_directory 'on'
set -g @rose_pine_bar_bg_disable 'on'
set -g @rose_pine_window_separator ' - '
set -g @rose_pine_left_separator ' > '
set -g @rose_pine_right_separator ' < '
set -g @rose_pine_field_separator ' | '
run-shell ~/.tmux/plugins/tmux-thumbs/tmux-thumbs.tmux
# Dracula theme
# set -g @plugin 'dracula/tmux'
# set -g @dracula-show-powerline true
# set -g @dracula-fixed-location "Melbourne"
# set -g @dracula-plugins "cpu-usage ram-usage git"
# set -g @dracula-show-flags true
# set -g @dracula-show-left-icon session
# set -g @dracula-show-fahrenheit false
# set -g @dracula-show-empty-plugins false
# set -g @dracula-cpu-usage-colors "light_purple dark_gray"
set -g @plugin 'joshmedeski/t-smart-tmux-session-manager'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'fcsonline/tmux-thumbs'
set -g @plugin 'sainnhe/tmux-fzf'
set -g @plugin 'wfxr/tmux-fzf-url'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'