-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
49 lines (37 loc) · 1.33 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
unbind-key C-b
set -g prefix 'C-z'
bind-key 'C-z' send-prefix
set-window-option -g mode-keys emacs
set-window-option -g xterm-keys on
set -g default-terminal "screen-256color"
# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on
# Center the window list
set -g status-justify centre
# use | and - to split the windows
bind-key | split-window -h
bind-key - split-window -v
# make the first window number start at 1
# set -g base-index 1
# from http://endot.org/2011/12/06/my-tmux-configuration/
# keybindings to make resizing easier
bind -r C-h resize-pane -L
bind -r C-j resize-pane -D
bind -r C-k resize-pane -U
bind -r C-l resize-pane -R
# Update window name frequently
set-option -g status-interval 5
# Automatically rename windows
set-option -g automatic-rename on
# Rename format to use the directory's basename
set-option -g automatic-rename-format '#{b:pane_current_path}'
new-session -d -s tmuxsess
new-window -t tmuxsess:1 -n shell -c /home/plindsay
new-window -t tmuxsess:2 -n ollama -c /home/plindsay/llms/ollama
new-window -t tmuxsess:3 -n comfyui -c /home/plindsay/llms/comfyui
new-window -t tmuxsess:4 -n sdwebui -c /home/plindsay/llms/stable-diffusion-webui
new-window -t tmuxsess:5 -n data -c /home/plindsay/llms/data
select-window -t tmuxsess:0
# Set Emacs mode
set-option -g status-keys emacs