Commit graph

1358 commits

Author SHA1 Message Date
Yan Lin
5f9b31295f Merge branch 'nightly' 2025-07-30 00:26:25 +02:00
Yan Lin
72ccd5c5e0 Refine documentation and zoxide integration
- Clarify testing command in CLAUDE.md (use hms)
- Remove redundant shell refresh instruction
- Fix formatting consistency in testing section

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 00:20:02 +02:00
Yan Lin
26d13e88c0 Merge branch 'nightly' 2025-07-30 00:10:03 +02:00
Yan Lin
bf30e5ae8b Update README with zoxide integration documentation
- Add zoxide to CLI Utilities section with comprehensive usage examples
- Update navigation aliases section to reflect zoxide integration
- Add zoxide examples to Powerful Tool Combinations section
- Document zoxide features: frecency algorithm, fuzzy matching, fzf integration

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 00:08:42 +02:00
Yan Lin
73d425d2bf Add zoxide integration for smart directory navigation
- Add zoxide package to flake.nix
- Enable zoxide with zsh integration in modules/zsh.nix
- Configure zoxide to replace cd command with smart frecency-based navigation
- Add zi alias for interactive directory selection with fzf

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 00:07:48 +02:00
Yan Lin
a7164a0ff3 Fix Shift+A autocomplete interference with refined approach
- Replace single key sequence binding with multiple potential Shift+A sequences
- Add explicit self-insert bindings for 'A', '^[[1;2A', and '^[[65;2u' to cover different terminals
- Configure ZSH_AUTOSUGGEST_CLEAR_WIDGETS to prevent autosuggestion interference with vim modes
- Add vi-add-eol and vi-add-next to clear widgets to ensure proper vim behavior
- Set ZSH_AUTOSUGGEST_ACCEPT_WIDGETS to handle vim end-of-line operations correctly

This should prevent Shift+A from triggering autocomplete while preserving vim functionality.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 23:58:40 +02:00
Yan Lin
107b668e3a Fix zsh vim mode backspace and Shift+A autocomplete issues
- Add explicit backspace bindings for ^? and ^H to fix backspace in vim insert mode
- Add Shift+A binding to vi-add-eol to prevent autocomplete interference and enable proper vim append-insert behavior
- These fixes ensure backspace works properly and Shift+A functions as vim append-insert instead of triggering autocompletion

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 23:54:44 +02:00
Yan Lin
9ab03b5d39 Merge branch 'nightly' 2025-07-29 23:49:23 +02:00
Yan Lin
b85d474f6e Update claude settings 2025-07-29 23:49:16 +02:00
Yan Lin
aad84a4c69 Add pareset alias for papis cache reset
- Added 'pareset' shell alias that runs 'papis cache reset'
- Placed in the cache management section of shell aliases
- Provides quick access to reset papis database cache

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 23:46:16 +02:00
Yan Lin
52eb121108 Revise claude memory 2025-07-29 23:41:31 +02:00
Yan Lin
a359a7f24e Revise claude memory 2025-07-29 23:37:37 +02:00
Yan Lin
a061ecbdf2 Fix patag function to rewrite tags instead of adding
- Changed patag function to drop existing tags before adding new ones
- Fixed tag parsing to properly split on '#' separator using tr command
- Tags are now stored as individual entries instead of single string
- Function now properly rewrites tags instead of adding to existing ones

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 23:36:28 +02:00
Yan Lin
2b47bfba47 Add patag alias 2025-07-29 23:27:43 +02:00
Yan Lin
048804048f Improve papis workflow with enhanced functions and aliases
- Convert pafile and pafinder aliases to shell functions with better parameter handling
- Make pafile query parameter optional for interactive document selection
- Add patag function for hash-separated multi-tag addition (e.g., patag "tag1#tag2" query)
- Add paopen alias for quick document opening
- Update README to document all papis workflow shortcuts and functions
- Fix deprecated zsh initExtra to initContent

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 23:14:40 +02:00
Yan Lin
f9e8eff265 Update papis alias 2025-07-29 23:04:39 +02:00
Yan Lin
33a7645970 Use nix to install openssh 2025-07-29 22:11:02 +02:00
Yan Lin
976a6267d2 Replace deprecated initExtra with initContent in papis.nix 2025-07-29 22:00:26 +02:00
Yan Lin
e97279e5a4 Revise papis alias 2025-07-29 21:59:01 +02:00
Yan Lin
687d5b52cc Simplify papis aliases 2025-07-29 20:48:22 +02:00
Yan Lin
7413785bbe Add STPCN project 2025-07-29 20:05:00 +02:00
Yan Lin
d272de21c3 Move append existing session logic to launcher 2025-07-29 19:30:02 +02:00
Yan Lin
e95e125151 Minor fix in readme 2025-07-29 18:31:12 +02:00
Yan Lin
dea62d5ab8 Remove papis custom folder and file names 2025-07-29 18:14:31 +02:00
Yan Lin
59cd92a8fd Add a few aliases to papis 2025-07-29 17:16:49 +02:00
Yan Lin
a45117a755 Update papis default template 2025-07-29 17:06:38 +02:00
Yan Lin
e7cb1502e3 Add papis to main config 2025-07-29 15:55:15 +02:00
Yan Lin
0da9c3b3cb Add papis reference manager configuration
- Add papis.nix module with embedded configuration
- Configure library at ~/Documents/Library/papis
- Set up nvim editor and fzf picker integration
- Add comprehensive papis documentation to README

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 15:49:49 +02:00
Yan Lin
33c4ebea09 Add forcetraj and trajar projects 2025-07-29 13:48:39 +02:00
Yan Lin
29a43547a2 Add weightcomp project 2025-07-29 13:30:05 +02:00
Yan Lin
d2087c6273 Minor update of project dir 2025-07-29 12:19:08 +02:00
Yan Lin
302307f978 Add autoread to neovim 2025-07-29 10:46:48 +02:00
Yan Lin
42de1808b7 Add pathfm project 2025-07-29 10:41:12 +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
65a230f0d7 Fix Claude Code settings syntax for git permissions
Update the git permission pattern from "git *" to "git:*" to match the correct syntax format for Claude Code permissions.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 20:44:35 +02:00
Yan Lin
2852beaa1d Add Claude Code settings configuration
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 20:41:54 +02:00
Yan Lin
3e938daef8 Add basic auto-completion to Neovim and comprehensive documentation
- Add nvim-cmp plugin with buffer and path completion sources
- Configure intuitive keybindings for completion navigation:
  * Ctrl+Space to trigger completion manually
  * Tab/Shift+Tab for menu navigation
  * Enter to accept completion, Ctrl+e to close menu
- Enable autoEnableSources for automatic plugin management

- Add comprehensive "Code Editing & Auto-completion" section to README:
  * Document all key features: Gruvbox theme, Tree-sitter, file explorer
  * Provide complete auto-completion usage guide with keybindings
  * Include essential keybinding reference for file operations, clipboard, git
  * Explain completion sources: buffer words and file path suggestions

Benefits:
- Simple, non-intrusive auto-completion without language servers
- Word completion from open buffers for faster typing
- Path completion for file navigation and imports
- Clear documentation for all Neovim features and keybindings
- Follows standard completion UI patterns users expect

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 20:36:45 +02:00
Yan Lin
f7f6d117c7 Minor update of nvim hidden list 2025-07-28 19:23:47 +02:00
Yan Lin
6b46eb93bf Replace pip and virtualenv with uv for modern Python development
- Replace python312Packages.pip and python312Packages.virtualenv with uv package
- Update README.md to document uv as the Python package manager
- Add comprehensive uv documentation section with usage examples:
  * Project initialization and dependency management
  * Virtual environment creation and management
  * Package installation and upgrades
  * Tool usage (pipx replacement)
  * Migration guidance from pip/virtualenv workflows

Benefits of uv over traditional tools:
- 10-100x faster package installation and dependency resolution
- Unified toolchain replacing pip, virtualenv, pip-tools, poetry, and more
- Global caching for efficient disk usage and faster installs
- Better dependency resolution and conflict handling
- Drop-in compatibility with existing requirements.txt and PyPI packages
- Modern project management with pyproject.toml and lock files

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 18:23:43 +02:00
Yan Lin
9e603d1e39 Add make tool 2025-07-28 18:19:11 +02:00
Yan Lin
0a9fa669f0 Add comprehensive rsync configuration and management
- Add rsync package to home.packages for Nix-managed installation
- Create modules/rsync.nix with comprehensive configuration:
  * ~/.rsync-exclude with macOS and development exclusion patterns
  * ~/.rsync-backup.conf with standard backup options and safety features
  * ~/.local/bin/rsync-backup executable wrapper script for easy backups
  * ~/.rsync-aliases with convenient shell aliases for common operations
- Add detailed rsync documentation to README with usage examples
- Switch from macOS built-in rsync to declarative Nix management

Features:
- Comprehensive exclude patterns for macOS metadata and temp files
- Progress indication, compression, and network optimization
- Safety options including dry-run capability and partial transfers
- Extended attributes and ACL preservation for macOS
- Multiple usage patterns: wrapper script, aliases, and manual configuration

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 17:26:39 +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
7f21c83caf Add MLLM project 2025-07-28 16:15:50 +02:00
Yan Lin
ea6c7c815b Add multi-platform git credential management
- Add git-credential-oauth package for OAuth authentication
- Configure OAuth helpers for GitHub, GitLab, BitBucket
- Add token-based authentication for Overleaf
- Remove disabled credential helper configuration
- Support secure browser-based OAuth flows and token storage

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 13:50:46 +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
49a06d6491 Update termscp config 2025-07-28 00:27:02 +02:00
Yan Lin
63402edd8f Manage termscp config with nix 2025-07-28 00:16:21 +02:00
Yan Lin
9e408bc65a Add ncdu for size analysis 2025-07-27 23:24:41 +02:00