Auto-sync from catchthesethighs
This commit is contained in:
6
.tmux-templates/debug.tmux
Normal file
6
.tmux-templates/debug.tmux
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Debug workspace
|
||||||
|
# Main pane (70%) + helper pane (30%)
|
||||||
|
|
||||||
|
split-window -h -p 30
|
||||||
|
|
||||||
|
select-pane -t 0
|
||||||
19
.tmux-templates/dev.tmux
Normal file
19
.tmux-templates/dev.tmux
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Development workspace
|
||||||
|
# Usage: tw-create myproject dev
|
||||||
|
|
||||||
|
# Split vertically (vim on left 50%, rest on right)
|
||||||
|
split-window -h -p 50
|
||||||
|
|
||||||
|
# Split right pane horizontally (terminal top, logs bottom)
|
||||||
|
split-window -v -p 50
|
||||||
|
|
||||||
|
# Select the first pane (vim)
|
||||||
|
select-pane -t 0
|
||||||
|
|
||||||
|
# Optional: Start vim in first pane
|
||||||
|
# send-keys -t 0 'vim' C-m
|
||||||
|
|
||||||
|
# Optional: Set pane titles
|
||||||
|
# select-pane -t 0 -T "Editor"
|
||||||
|
# select-pane -t 1 -T "Terminal"
|
||||||
|
# select-pane -t 2 -T "Logs"
|
||||||
2
.tmux-templates/full.tmux
Normal file
2
.tmux-templates/full.tmux
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Full workspace
|
||||||
|
# Single full-screen pane (default tmux behavior)
|
||||||
16
.tmux-templates/ops.tmux
Normal file
16
.tmux-templates/ops.tmux
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Operations workspace
|
||||||
|
# 4-pane layout for system monitoring
|
||||||
|
|
||||||
|
# Create 2x2 grid
|
||||||
|
split-window -h -p 50
|
||||||
|
split-window -v -p 50
|
||||||
|
select-pane -t 0
|
||||||
|
split-window -v -p 50
|
||||||
|
|
||||||
|
# Optional: Auto-start monitoring tools
|
||||||
|
# send-keys -t 0 'htop' C-m
|
||||||
|
# send-keys -t 1 'docker ps' C-m
|
||||||
|
# send-keys -t 2 '' C-m
|
||||||
|
# send-keys -t 3 'tail -f /var/log/syslog' C-m
|
||||||
|
|
||||||
|
select-pane -t 0
|
||||||
6
.tmux-templates/review.tmux
Normal file
6
.tmux-templates/review.tmux
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Code Review workspace
|
||||||
|
# Two equal panes side-by-side for comparison
|
||||||
|
|
||||||
|
split-window -h -p 50
|
||||||
|
|
||||||
|
select-pane -t 0
|
||||||
13
.tmux-templates/ssh-multi.tmux
Normal file
13
.tmux-templates/ssh-multi.tmux
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Multi-server SSH workspace
|
||||||
|
# 4 panes for managing multiple servers
|
||||||
|
|
||||||
|
# Create 2x2 grid
|
||||||
|
split-window -h -p 50
|
||||||
|
split-window -v -p 50
|
||||||
|
select-pane -t 0
|
||||||
|
split-window -v -p 50
|
||||||
|
|
||||||
|
# Enable pane synchronization (optional - uncomment to enable)
|
||||||
|
# set-window-option synchronize-panes on
|
||||||
|
|
||||||
|
select-pane -t 0
|
||||||
@@ -274,6 +274,8 @@ _deferred_load() {
|
|||||||
source "$_dotfiles_dir/zsh/functions/smart-suggest.zsh"
|
source "$_dotfiles_dir/zsh/functions/smart-suggest.zsh"
|
||||||
[[ -f "$_dotfiles_dir/zsh/functions/password-manager.zsh" ]] && \
|
[[ -f "$_dotfiles_dir/zsh/functions/password-manager.zsh" ]] && \
|
||||||
source "$_dotfiles_dir/zsh/functions/password-manager.zsh"
|
source "$_dotfiles_dir/zsh/functions/password-manager.zsh"
|
||||||
|
[[ -f "$_dotfiles_dir/zsh/functions/tmux-workspaces.zsh" ]] && \
|
||||||
|
source "$_dotfiles_dir/zsh/functions/tmux-workspaces.zsh"
|
||||||
|
|
||||||
# Load vault secrets
|
# Load vault secrets
|
||||||
local vault_script="$_dotfiles_dir/bin/dotfiles-vault.sh"
|
local vault_script="$_dotfiles_dir/bin/dotfiles-vault.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user