Commit graph

922 commits

Author SHA1 Message Date
Yan Lin
303cf90e95 Add powerful tool combination examples to README
Shows how to use fd, fzf, and nvim together for interactive file selection workflows

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 13:46:26 +02:00
Yan Lin
af5add2783 Add fzf usage examples and keybindings to README
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 13:44:23 +02:00
Yan Lin
d92851d6ea Add fd usage examples to README
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 13:41:00 +02:00
Yan Lin
6e8fa29229 Remove redundant sections from README
Clean up duplicate workflow optimization and getting started sections that were redundant with earlier content.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 12:05:09 +02:00
Yan Lin
9f171de0cb Update README with comprehensive documentation
- Enhance overview with features and modern CLI highlights
- Add detailed configuration architecture documentation
- Document Neovim keybindings, plugins, and gruvbox theme
- Document Tmux prefix key, vim navigation, and copy mode
- Document Zsh with Powerlevel10k, vim mode indicators, and aliases
- Add workflow optimization and productivity features
- Include machine configurations and usage examples
- Organize content with clear sections and emoji headers

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 12:02:59 +02:00
Yan Lin
4098771120 Add vim mode indicators and enhanced keybindings to zsh
- Enable vim keybindings with defaultKeymap = "viins"
- Add cursor shape changes: line cursor for insert mode, block for normal mode
- Reduce mode switching delay from 400ms to 10ms for faster response
- Add vim-style history navigation with k/j in normal mode
- Add history search with / and ? in normal mode
- Add word movement with Ctrl+arrow keys in insert mode
- Integrate with Powerlevel10k prompt symbols for mode indication

Provides clear visual feedback for vim mode changes with multiple indicators.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 11:32:26 +02:00
Yan Lin
f121e81c8d Fix darwin configuration name case mismatch
- Change darwinConfigurations."Macbook-Air" to "MacBook-Air"
- Fixes `sudo darwin-rebuild switch --flake .` command
- Ensures configuration name matches system hostname

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 10:49:43 +02:00
Yan Lin
950a276d44 Fix deprecated zsh configuration and remove vi keymapping
- Replace deprecated initExtra with initContent
- Remove defaultKeymap viins for standard emacs-style bindings

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 10:40:49 +02:00
Yan Lin
c0bba829c2 Add comprehensive zsh configuration with Powerlevel10k
- Create separate zsh.nix module for enhanced shell experience
- Add Powerlevel10k theme with custom configuration from wizard
- Include useful aliases for git, nix, and navigation commands
- Add modern CLI tools: fzf, fd, ripgrep, bat for better productivity
- Enable autosuggestions, syntax highlighting, and completion
- Add portable p10k.zsh configuration for consistent prompt across machines
- Update flake.nix to import zsh module and remove inline config
- Update tmux.nix with prefix indicator and datetime removal

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 10:36:08 +02:00
Yan Lin
b30b393541 Add tmux session script for nix configuration workspace
- Create automated tmux session setup with 3 windows: nvim, ai, and bash
- Auto-start nvim in first window and claude in ai window with split panes
- Provides quick workspace initialization for nix config development

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 09:37:30 +02:00
Yan Lin
d2d1d7fd6f Add gitui for beautiful CLI git graph visualization
- Add gitui package to home.packages for enhanced git repository browsing
- Provides interactive TUI with beautiful branching visualization
- Supports diff viewing, staging, and vim-like navigation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 09:02:11 +02:00
Yan Lin
0c1d378d1b Add system clipboard keymaps to nvim configuration
- Add <leader>y for copying to system clipboard (normal/visual modes)
- Add <leader>p for pasting from system clipboard
- Preserves standard vim register behavior while providing convenient clipboard access

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 08:40:06 +02:00
Yan Lin
6994c0ea25 Change tmux prefix key from Ctrl+b to Ctrl+a
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 08:25:37 +02:00
Yan Lin
a926267b1f Enhance nvim configuration with improved UX settings
- Add vim-fugitive for git integration with leader key mappings
- Configure lualine to show relative file paths instead of filenames
- Set nvim-tree to hide dotfiles and show gitignored files by default
- Add linebreak and breakindent options for better word wrapping
- Remove vi keymapping from zsh for standard emacs-style bindings

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 08:24:53 +02:00
Yan Lin
25f7f64cf4 Display relative path 2025-07-26 02:27:58 +02:00
Yan Lin
7409d5da80 Add vim-fugitive 2025-07-26 01:17:14 +02:00
Yan Lin
74342069a6 Add README with installation and usage instructions
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 01:03:12 +02:00
Yan Lin
9fcb2b8dce Restore gruvbox truecolor theme for iTerm2 compatibility
- Restore tmux truecolor gruvbox theme with terminal overrides for iTerm2
- Add gruvbox.setup() with hard contrast for much darker nvim background
- Configure lualine with gruvbox_dark theme to match colorscheme
- Background changed from #282828 to #1d2021 for enhanced contrast

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 00:36:08 +02:00
Yan Lin
99da37d060 Fix tmux and nvim color display issues
- Add COLORTERM=truecolor to zsh session variables for 24-bit color support
- Update tmux terminal overrides to match xterm-256color terminal type
- Add gruvbox-nvim plugin and set explicit background=dark in nvim config
- Replace default colorscheme with gruvbox to match lualine theme

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 00:14:34 +02:00
Yan Lin
9909c1352e Fix color theme issues after git setup
Tmux:
- Add explicit terminal = "screen-256color" to prevent home-manager
  from overriding with plain "screen" terminal setting
- This ensures proper 256-color support for gruvbox theme

Neovim:
- Set explicit colorscheme to maintain consistency with lualine theme
- Remove confusing "no custom colorscheme" comment

Also update flake.lock with latest dependencies.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 23:49:00 +02:00
Yan Lin
25898527a7 Add MacBook Air (mba) darwin configuration
- Add darwinConfigurations."mba" entry using same config as iMac
- Both machines now use identical system configuration
- Ready for machine-specific customizations in the future

Usage:
- iMac: darwin-rebuild switch --flake .#iMac
- MacBook Air: darwin-rebuild switch --flake .#mba
2025-07-25 23:31:09 +02:00
Yan Lin
d15473aa17 Initial Nix configuration setup
- Add nix-darwin and home-manager flake configuration
- Include modular neovim setup with plugins and keybinds
- Add tmux configuration with gruvbox theme and vim-like bindings
- Set up .gitignore for nix build outputs and temporary files

Ready for multi-machine deployment across macOS systems.
2025-07-25 23:25:21 +02:00