-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_tmux.conf
More file actions
54 lines (41 loc) · 1.61 KB
/
dot_tmux.conf
File metadata and controls
54 lines (41 loc) · 1.61 KB
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
# List of TPM plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible' # basic changes
set -g @plugin 'tmux-plugins/tmux-pain-control' # vim bindings
set -g @plugin 'catppuccin/tmux#v2.1.3' # See https://github.com/catppuccin/tmux/tags for additional tags
# Set theme color
set -g @catppuccin_flavor 'mocha' # latte, frappe, macchiato or mocha
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'
# Custom config after plugins
bind -T copy-mode-vi y send -X copy-pipe-and-cancel "wl-copy"
# Set the prefix key (e.g., to Ctrl+a, common alternative)
# unbind C-b
# set-option -g prefix C-a
# bind-key C-a send-prefix
# Enable mouse support (e.g., for scrolling, resizing panes)
#set -g mouse on
# You can add more customizations here:
# Example: automatically set window title
# set-window-option -g automatic-rename on
# set-option -g set-titles on
#set -g default-terminal "screen-256color"
# Resize panes with vim motions
#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
# Maximize pane
#bind -r m resize-pane -Z
# Initialize TMUX plugin manager (TPM)
# This line *must* be at the very bottom of your tmux.conf
run '~/.tmux/plugins/tpm/tpm'
# Overrides tmux-sensible :command movement; was emacs
set -g status-keys vi
# Let apps set the system clipboard (OSC 52, etc.)
set -g set-clipboard on
# tmux 3.2+ : allow escape passthrough (helps a lot with OSC 52)
set -g allow-passthrough on