Commit graph

829 commits

Author SHA1 Message Date
Yan Lin
76a8fdeff8 Remove explicit btop package 2025-07-30 22:48:08 +02:00
Yan Lin
6a999b947d Add btop module to home-manager imports
The btop configuration module was not being imported, causing the settings
to not be applied. Added ./modules/btop.nix to the imports list to enable
the custom btop configuration with gruvbox theme and vim-style navigation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 22:39:15 +02:00
Yan Lin
eae6150553 Add btop config 2025-07-30 22:34:32 +02:00
Yan Lin
1009028fa2 Update claude permission 2025-07-30 18:59:09 +02:00
Yan Lin
f12ae20f05 Add dictionary autocompletion to neovim without spell checking
- Add cmp-dictionary plugin to extraPlugins for English word completion
- Configure dictionary source in nvim-cmp with keyword_length = 2
- Set up dictionary paths pointing to /usr/share/dict/words
- Enable case-insensitive matching for better user experience
- Completion triggers after 2+ characters for performance optimization

This provides English word autocompletion without enabling vim's spell
checking features, keeping the interface clean without visual indicators.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 18:57:50 +02:00
Yan Lin
cce0a92f13 Minor revision of readme 2025-07-30 18:50:30 +02:00
Yan Lin
dd2eb54fdb Merge branch 'nightly' 2025-07-30 18:49:16 +02:00
Yan Lin
1d7e1124ea Comprehensive README update documenting all packages and configurations
- Add system/ directory documentation with macOS customizations section
- Document menu bar spacing configuration via nix-darwin activation scripts
- Add Fonts & Typography section documenting Nerd Fonts (Fira Code, JetBrains Mono)
- Expand Development Tools section with missing packages:
  - lftp: Advanced FTP/SFTP client with scripting capabilities
  - ncdu: NCurses disk usage analyzer
  - gnumake: Essential build automation tool
- Update Git section with git-credential-oauth for secure authentication
- Update Features list to mention system integration and typography
- Update Configuration Architecture diagram to include system/ directory

All packages from flake.nix are now comprehensively documented in README

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 18:48:35 +02:00
Yan Lin
7266100eaa Comprehensive README update documenting all packages and configurations
- Add system/ directory documentation with macOS customizations section
- Document menu bar spacing configuration via nix-darwin activation scripts
- Add Fonts & Typography section documenting Nerd Fonts (Fira Code, JetBrains Mono)
- Expand Development Tools section with missing packages:
  - lftp: Advanced FTP/SFTP client with scripting capabilities
  - ncdu: NCurses disk usage analyzer
  - gnumake: Essential build automation tool
- Update Git section with git-credential-oauth for secure authentication
- Update Features list to mention system integration and typography
- Update Configuration Architecture diagram to include system/ directory

All packages from flake.nix are now comprehensively documented in README

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 18:48:14 +02:00
Yan Lin
d63a0e1e78 Merge branch 'nightly' 2025-07-30 18:37:43 +02:00
Yan Lin
1b9cb26015 Fix nvim shortcuts for files with non-English characters
- Add Unicode-safe Lua functions for file operations
- Replace shell commands with proper escaping using vim.fn.shellescape()
- Update <leader>o and <leader>f keymaps to use new Lua functions
- Fixes issues with Chinese and other Unicode characters in filenames

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 18:36:36 +02:00
Yan Lin
0c23f34a6f Merge branch 'nightly' 2025-07-30 18:29:30 +02:00
Yan Lin
cc0b8450e0 Fix nix-darwin activation script for newer version compatibility
- Replace deprecated postUserActivation with extraActivation
- Use sudo -u yanlin to run defaults commands as user from root context
- Addresses nix-darwin architecture change where all activation runs as root
- Menu bar spacing configuration now compatible with nix-darwin 25.x

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 18:27:45 +02:00
Yan Lin
d661a80fa9 Fix macOS menu bar spacing configuration to use activation scripts
- Replace CustomUserPreferences with system.activationScripts.postUserActivation
- Use defaults -currentHost write commands that actually work
- Corrected values: NSStatusItemSpacing=12, NSStatusItemSelectionPadding=6
- Commands will run during darwin-rebuild to apply host-specific preferences

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 18:24:20 +02:00
Yan Lin
052a8d74e6 Add macOS menu bar spacing configuration
- Create system/ directory for system-level nix-darwin configurations
- Add system/macos-defaults.nix with NSStatusItemSpacing and NSStatusItemSelectionPadding settings
- Configure optimal spacing (6) and padding (12) values for menu bar items
- Use CustomUserPreferences to support options not yet in nix-darwin main
- Set system.primaryUser to support user-specific preferences

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 14:00:40 +02:00
Yan Lin
d2dfa7771c Add trajmamba project 2025-07-30 12:03:32 +02:00
Yan Lin
b481ad12e0 Add imac ssh config 2025-07-30 09:58:20 +02:00
Yan Lin
6f8b598d81 Update CLAUDE.md and script templates
- Modified CLAUDE.md configuration
- Updated basic.sh template script
- Updated research.sh template script

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 09:54:09 +02:00
Yan Lin
112ca64e67 Update lock file 2025-07-30 01:32:52 +02:00
Yan Lin
bdc28447db Revise readme 2025-07-30 01:31:15 +02:00
Yan Lin
023396470d Revise readme 2025-07-30 01:22:00 +02:00
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