Commit Graph

9 Commits

Author SHA1 Message Date
dlond f81cab2da3 refactor: Complete modular migration from kickstart.nvim
Major architectural overhaul to transform the flat kickstart.nvim structure
  into a maintainable, modular configuration while preserving upstream sync capability.

  ## Structure Changes
  - Migrated from flat `lua/custom/` to organized `lua/core/` and `lua/plugins/`
  - Separated plugin specs from configs: `lua/plugins/spec/` and `lua/plugins/config/`
  - Complex configs (LSP, Debug) now use directory structure with sub-modules:
    - `lsp/init.lua`, `lsp/servers.lua`, `lsp/keymaps.lua`
    - `debug/init.lua`, `debug/adapters.lua`, `debug/keymaps.lua`

  ## Core Improvements
  - Created dedicated core modules: options, keymaps, autocmds, bootstrap, health
  - Added comprehensive health check (`lua/core/health.lua`) for diagnostics
  - Simplified init.lua to just orchestrate module loading
  - Better separation of concerns throughout

  ## Plugin Updates
  - Fixed Blink.cmp configuration (removed invalid fuzzy options)
  - Integrated Copilot with Blink.cmp for unified completion experience
  - Added autopairs and indent-line from kickstart examples
  - Optimized for Nix development environments (removed venv assumptions)

  ## Documentation
  - Updated README with modular structure and kickstart sync instructions
  - Created comprehensive KEYBIND_ANALYSIS.md with all mappings
  - Added modular.txt help documentation
  - Created TODO_TEST.md checklist for testing

  ## Benefits
  - Easier to maintain and extend
  - Clean separation allows upstream kickstart merges without conflicts
  - Scalable architecture for adding new languages/tools
  - Better code organization and discoverability

  All kickstart functionality preserved while gaining modularity and maintainability.
2025-09-02 13:23:53 +12:00
dlond f7e21a4a2a Improve tmux shared session detection
- Add case-insensitive check for 'shared' in session name
- Keep existing check for multiple attached clients
- Add documentation about vim.fn.confirm() keyboard shortcuts
- Update CLAUDE.md with nvdev testing workflow

This ensures the quit warning triggers for any session with 'shared'
in the name, not just sessions with multiple attachments.

Fixes #21

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 14:09:59 +12:00
dlond b2047723b9 Fix tmux quit warning logic bug
Replace `cquit!` with `return` when user chooses 'No' to properly
prevent nvim from quitting in shared tmux sessions.

Previously, clicking 'No' would still force quit nvim due to the
inverted logic using `cquit!` command.

Resolves #8
2025-08-20 14:45:39 +12:00
dlond 652c389318 Add warning when quitting Neovim in shared tmux sessions
Implements autocmd that detects when running in a tmux session with multiple
attached clients and prompts user before quitting to prevent disrupting
other users.

Closes #3

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-15 15:33:04 +12:00
dlond 68f26dc50d Optimize Neovim configuration structure and LSP setup
- Remove duplicate nvim-web-devicons loading (already in kickstart)
- Add clangd configuration to custom LSP setup with proper flags
- Replace complex clangd_helper with universal LSP reload keybind (<leader>lr)
- Clean up unused clangd target selection keybind
- Streamline plugin organization for better maintainability

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 19:56:13 +12:00
dlond d619d03e56 trying to fix auto indenting again 2025-05-30 10:55:58 +12:00
dlond 2bbca46cd9 trying to fix auto indenting on some files part 2 2025-05-30 10:55:58 +12:00
dlond eb6772ea33 trying to fix auto indenting on some files 2025-05-30 10:55:58 +12:00
dlond d2d4e216dc custom options 2025-05-30 10:50:21 +12:00