-
Notifications
You must be signed in to change notification settings - Fork 1
/
.tmux.conf
38 lines (31 loc) · 1.05 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
# This file uses Control-h as a prefix
# but is otherwise a great usable tmux configuration
set -gu prefix2
unbind C-b
unbind C-a
set-option -g prefix C-h
bind-key C-h send-prefix
bind p previous-window
bind n next-window
bind j join-pane
# Splitting windows with - and | instead of " and %
bind - split-window -v
bind | split-window -h
# unbind previous splits
unbind '"'
unbind %
set-option -g editor "emacsclient -nw" # emacs
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_flavour 'frappe' # latte, frappe, macchiato, mocha
set -g @plugin 'tmux-plugins/tmux-battery'
# Use the window name instead of path in each tab.
set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_current_text "#W"
# But put the path on the right side.
set -g @catppuccin_status_modules_right "application"
set -g @catppuccin_directory_text "#{pane_current_path}"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'