Commit graph

12 commits

Author SHA1 Message Date
Yan Lin
d272de21c3 Move append existing session logic to launcher 2025-07-29 19:30:02 +02:00
Yan Lin
bfea8a3d5f Remove content template and migrate blog project to research template
- Delete scripts/templates/content.sh template
- Remove content template case from project-launcher.sh
- Update blog project configuration to use research template with remote sync

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 09:45:45 +02:00
Yan Lin
558bb529e0 Update all tmux templates to use claude -c command
Replace deprecated 'claude -r' with current 'claude -c' command:
- basic.sh: 1 instance updated
- content.sh: 2 instances updated
- research.sh: 2 instances updated

Total: 5 claude command references modernized across all templates.
Templates now use current Claude Code command syntax.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 00:24:02 +02:00
Yan Lin
f7bfb04b38 Add session detection and running indicator to project launcher
- Add is_session_running() function to detect active tmux sessions
- Update project display to show green "• Running" indicator for active projects
- Fix session detection to use correct session names from project config
- Improve project listing with real-time status information
- Update projects.nix with shortened key names and descriptions

Features:
- Visual feedback for which projects are currently running
- Uses proper tmux session names from project configuration
- Clean green indicator that only appears for running sessions
- Maintains existing project launcher functionality and layout

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 16:58:28 +02:00
Yan Lin
a6162712e3 Replace gitui with lazygit for better git TUI experience
- Replace gitui package with lazygit in flake.nix
- Update all project templates to launch lazygit instead of gitui
- Update README documentation with lazygit features and capabilities
- Maintain same tmux workflow and window layouts

Benefits of lazygit:
- More intuitive and user-friendly interface
- Better performance and responsiveness
- Enhanced file tree navigation with git status
- Comprehensive keyboard shortcuts and help system
- Active development with regular feature updates

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 16:18:49 +02:00
Yan Lin
c91921a125 Add note project and improve directory creation
- Add Obsidian notes project configuration
- Enhance project launcher with automatic directory creation for local and remote paths

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 13:46:03 +02:00
Yan Lin
1efe49e659 Simplify project lanucher display format 2025-07-27 22:00:11 +02:00
Yan Lin
5b2d62ffa6 Add remote server support to research template
- Add server and remoteDir fields to research projects configuration
- Update project launcher to handle remote server parameters
- Enhance research template with remote server window (window 7)
- Add dual-pane remote SSH connections with auto-reconnect aliases
- Document remote server features in README with configuration examples

Features:
- Type 'r' in any remote pane to reconnect after network drops
- Automatic SSH connection and directory navigation
- Parallel remote work with dual panes
- Backwards compatible - optional server configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 18:01:20 +02:00
Yan Lin
94547defc5 Add git windows to research template for better workflow
- Add code-git window (window 3) with gitui in CODE_PATH
- Add paper-git window (window 6) with gitui in PAPER_PATH
- Adjust window numbering: paper windows moved from 3,4 to 4,5
- Brings research template in line with basic and content templates
- Provides dedicated git management for both code and paper repositories

New window layout:
1. code (nvim)
2. code-ai (claude + splits)
3. code-git (gitui) ← NEW
4. paper (nvim)
5. paper-ai (claude + splits)
6. paper-git (gitui) ← NEW

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 23:36:26 +02:00
Yan Lin
cf177c060e Enhance project list display with descriptions and visual formatting
- Add colorful header with 📋 icon and cyan title
- Display project descriptions (previously unused)
- Add template-based icons: 🚀 content, 🔬 research, ⚙️ basic
- Format output in aligned columns with colors
- Include template type indicators in brackets
- Add usage hint for better user experience
- Improve error handling for missing jq

The 'proj' command now provides rich, informative output instead of
just listing project names.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 23:11:13 +02:00
Yan Lin
fce0729d48 Fix basic.sh template working directory robustness
- Add -c "$CODE_PATH" to all tmux new-window and split-window commands
- Ensures all windows and panes start in correct project directory
- Fixes issue where only first window was in correct location
- content.sh and research.sh templates were already robust

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 22:57:11 +02:00
Yan Lin
af7b855faf Add comprehensive project shortcuts system
- Create config/projects.nix for project definitions with templates
- Add scripts/templates/ with basic, content, and research workflows
- Create universal project-launcher.sh for template execution
- Integrate project system into zsh with dynamic alias generation
- Generate projects.json config file for shell script consumption
- Update README.md with project shortcuts documentation

Projects supported:
- blog: Personal blog (content workflow)
- mdshortcut: Research project (research workflow)
- nix-config: Nix configuration (basic workflow)

Usage: proj, blog, mdshortcut, nix-config commands

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 22:38:23 +02:00