blob: f96cc7c0448916eb54c85811fb467ae2b345567f (
plain)
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
|
source ~/.config/tmux/tmux.local.conf
set-option -g allow-rename off
set-option -g history-limit 100000
set-option -s escape-time 0
set-option -g set-titles on
set-window-option -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
bind-key H resize-pane -L 5
bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key L resize-pane -R 5
bind-key g popup -E -w 99% -h 99% -d '#{pane_current_path}' lazygit
bind-key f popup -E -w 99% -h 99% -d '#{pane_current_path}' ranger
bind-key e run-shell -b "cd '#{pane_current_path}' && hexai-tmux-edit --pane '#{pane_id}'"
bind-key N popup -E -w 99% -h 99% hx ~/Notes
bind-key t popup -E -w 99% -h 99% hx fish
# bind-key b break-pane -d
bind-key c new-window -c '#{pane_current_path}'
bind-key F new-window -n "session-switcher" "tmux list-sessions | fzf | cut -d: -f1 | xargs tmux switch-client -t"
bind-key p setw synchronize-panes off
bind-key P setw synchronize-panes on
bind-key r source-file ~/.config/tmux/tmux.conf \; display-message "~/.config/tmux/tmux.conf reloaded"
bind-key T choose-tree
set-option -g pane-active-border-style fg=magenta,bold
set -g status-right '#{@hexai_status} #[fg=colour8]| %H:%M'
set -g status-right-length 120
set-environment -g HEXAI_TMUX_STATUS_THEME white-on-purple
|