updated tmux config and plugins, added tmuxp to dotfiles

This commit is contained in:
liph
2026-02-23 17:37:56 +01:00
parent 8925d9677e
commit f901141e5f
11 changed files with 139 additions and 7 deletions

View File

@@ -6,6 +6,12 @@ bind -n M-L next-window
set -g prefix C-s
set -g mouse on
bind _ split-window -h # Split vertical using prefix + |
bind - split-window -v # Split horizontal using prefix + -
# Reloading
bind r source-file ~/.tmux.conf \; display "Config Reloaded!"
# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
@@ -107,8 +113,12 @@ set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'sainnhe/tmux-fzf'
set -g @plugin 'alexwforsythe/tmux-which-key'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# set -g @plugin 'tmux-plugins/tmux-resurrect'
# set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'YlanAllouche/tmux-task-monitor'
set -g @plugin 'rickstaa/tmux-notify'
set -g @plugin 'TheSast/tmux-nav-master'
set -g @plugin 'omerxx/tmux-sessionx'
# Other examples:
# set -g @plugin 'github_username/plugin_name'

20
tmux/.tmuxp/coding.yaml Executable file
View File

@@ -0,0 +1,20 @@
session_name: coding
windows:
- focus: 'true'
layout: 2afa,174x42,0,0{87x42,0,0,0,86x42,88,0,2}
options:
automatic-rename: false
panes:
- focus: 'true'
shell_command: nvim
- yazi
start_directory: /mnt/tank/programming/spinstack
window_name: Nvim
- layout: b640,174x42,0,0,3
options:
automatic-rename: false
panes:
- focus: 'true'
shell_command: opencode
start_directory: /mnt/tank/programming/spinstack
window_name: Opencode

32
tmux/.tmuxp/home.yaml Executable file
View File

@@ -0,0 +1,32 @@
session_name: Home
windows:
- focus: "true"
layout: 2afe,174x42,0,0{87x42,0,0,1,86x42,88,0,2}
options:
automatic-rename: false
panes:
- neofetch
- focus: "true"
shell_command: yazi
start_directory: /home/liph
window_name: Base
- layout: 95db,174x42,0,0{87x42,0,0,3,86x42,88,0,43}
options:
automatic-rename: false
panes:
- focus: "true"
shell_command:
- cd /home/liph
# - zsh
- shell_command:
- cd /home/liph/dotfiles/tmux
- nvim
window_name: Yazi
- layout: db54,174x42,0,0,44
options:
automatic-rename: false
panes:
- focus: "true"
shell_command: aerc
start_directory: /home/liph
window_name: Aerc