Skip to content

sync fork - #103

Closed
emmanuel-adu wants to merge 21 commits into
dam9000:masterfrom
emmanuel-adu:main
Closed

emmanuel-adu wants to merge 21 commits into
dam9000:masterfrom
emmanuel-adu:main

Conversation

@emmanuel-adu

Copy link
Copy Markdown

NOTE
Please verify that the base repository above has the intended destination!
Github by default opens Pull Requests against the parent of a forked repository.
If this is your personal fork and you didn't intend to open a PR for contribution
to the original project then adjust the base repository accordingly.


emmanuel-adu and others added 21 commits June 25, 2025 21:28
- Add Node.js v20.19.3 path configuration in init.lua
- Switch from tsserver to typescript-tools.nvim in lspconfig
- Add markdownlint to Mason tools
- Fix lint.lua to exclude CopilotChat buffers from linting

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

Co-Authored-By: Claude <noreply@anthropic.com>
…ance

Major improvements and additions:
- Claude AI integration via avante.nvim (Cursor-like experience)
- Testing framework via neotest (Python, Go, Jest support)
- Enhanced git workflow via lazygit.nvim
- Better diagnostics UI via trouble.nvim
- Project-wide search/replace via nvim-spectre

Performance & cleanup:
- Removed hardcoded Node.js path from init.lua
- Cleaned up commented code in lspconfig, nvim-cmp, telescope
- Optimized lazy loading configurations

Enhanced tooling:
- Expanded formatters: black, isort, prettier, goimports, rustfmt
- Expanded linters: ruff, mypy, golangci-lint, eslint, shellcheck
- Added friendly-snippets for comprehensive snippet support
- Enabled ghost_text experimental feature in nvim-cmp

Files modified:
- init.lua: Remove hardcoded paths
- lspconfig.lua: Add all formatters/linters to Mason tools
- conform.lua: Add formatters for all languages
- lint.lua: Add linters for all languages
- nvim-cmp.lua: Enable friendly-snippets and ghost text
- telescope.lua: Clean up commented examples

Files created:
- lua/custom/plugins/avante.lua: Claude AI integration
- lua/custom/plugins/neotest.lua: Testing framework
- lua/custom/plugins/lazygit.lua: Git UI
- lua/custom/plugins/trouble.lua: Diagnostics UI
- lua/custom/plugins/spectre.lua: Search/replace UI

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Replace neotest-jest with neotest-vitest adapter
- Update configuration for vitest compatibility
- Add node_modules filter for better performance

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

Co-Authored-By: Claude <noreply@anthropic.com>
Add comprehensive Jupyter notebook integration for data science workflows:

New plugins:
- molten.nvim: Execute code cells with inline output display
- image.nvim: Render plots and images in terminal (Kitty support)
- quarto-nvim: Support for Quarto documents (.qmd files)
- jupytext.nvim: Edit notebooks as Python files with auto-sync

Features:
- Execute Python cells interactively in Neovim
- Inline output display (text, plots, dataframes)
- Multiple kernel support
- Cell navigation and management
- Works with .ipynb files and .py files (using # %% markers)
- Image rendering in supported terminals

Keybindings:
- <leader>mi: Initialize kernel
- <leader>me: Evaluate line/visual selection
- <leader>mr: Re-evaluate cell
- ]c / [c: Navigate cells
- <leader>mo: Show output
- <leader>mh: Hide output
- <leader>mx: Interrupt kernel
- <leader>mX: Restart kernel

Configuration:
- Auto-open output disabled by default (toggle with <leader>mo)
- Virtual text output enabled
- Kitty terminal backend for images
- Max output height: 20 lines

Files added:
- lua/custom/plugins/molten.lua: Main molten configuration
- lua/custom/plugins/notebook-utils.lua: Jupytext integration
- JUPYTER_SETUP.md: Complete setup and usage guide

Requirements (see JUPYTER_SETUP.md):
- pip install jupyter ipython pynvim
- Kitty terminal recommended for image rendering
- Optional: cairosvg, plotly, kaleido for enhanced rendering

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Update JUPYTER_SETUP.md to explicitly list Ghostty as supported
- Add comment in molten.lua clarifying Kitty protocol compatibility
- Ghostty fully supports Kitty graphics protocol for inline images

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

Co-Authored-By: Claude <noreply@anthropic.com>
Add learning-accelerator plugins to help new Vim users master motions and develop good habits:

New Plugins:

1. Precognition.nvim - Real-time motion hints
   - Shows ghost text for available motions (w, b, e, {, })
   - Teaches efficient navigation while you work
   - Toggle: <leader>tp
   - Peek: <leader>pp

2. Hardtime.nvim - Break bad habits
   - Prevents repetitive hjkl usage (gentle mode)
   - Suggests better motions (w, b, }, { instead of jjjj)
   - Max 4 repetitions before hint (beginner-friendly)
   - Toggle: <leader>th
   - Report: <leader>hr

3. Flash.nvim - Enhanced navigation with labels
   - Jump anywhere with s + 2 chars + label (3 keystrokes)
   - Treesitter integration: S for code structures
   - Works with operators: d, c, y
   - Custom highlights for visibility

4. Treesitter Textobjects - Code-aware editing
   - Function: vif (select in), daf (delete), ]f/[f (navigate)
   - Class: vic, dac, ]c/[c
   - Parameter: via, cia, daa, <leader>sn/sp (swap)
   - Conditional: vii, vai, ]i/[i
   - Loop: vil, val, ]l/[l
   - Incremental selection: <C-space>

Configuration Philosophy:
- Beginner-friendly (not too strict initially)
- Hints over blocks (learning mode)
- Disabled in special buffers (Telescope, Neo-tree, etc.)
- Clear feedback and notifications
- Easy toggle keybindings

Files Added:
- lua/custom/plugins/precognition.lua: Motion hint configuration
- lua/custom/plugins/hardtime.lua: Habit-breaking settings
- lua/custom/plugins/flash.lua: Enhanced navigation setup
- LEARNING_GUIDE.md: Comprehensive 4-week learning path

Files Modified:
- lua/kickstart/plugins/treesitter.lua: Added textobjects + incremental selection

Learning Path:
Week 1: Basic motions (w, b, e, {, })
Week 2: Flash navigation (s + chars)
Week 3: Textobjects (vif, daf, ]f)
Week 4: Advanced combinations

Key Keybindings:
Navigation:
- s - Flash jump
- S - Treesitter select
- ]f/[f - Next/prev function
- ]c/[c - Next/prev class

Textobjects:
- vif/vaf - Select function
- via/vaa - Select parameter
- daf - Delete function
- cia - Change parameter

Learning:
- <leader>tp - Toggle Precognition
- <leader>th - Toggle Hardtime
- <leader>hr - Hardtime report

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Move claude configuration to providers.claude structure
- Update to match new API format (no more top-level claude key)
- Fixes deprecation warnings on startup

Resolves: avante.nvim provider configuration migration

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Move max_tokens to providers.claude.extra_request_body.max_tokens
- Move temperature to providers.claude.extra_request_body.temperature
- Resolves final deprecation warnings
- Now using latest avante.nvim API format

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

Co-Authored-By: Claude <noreply@anthropic.com>
Add support for both Claude and OpenAI in Avante.nvim:

Configuration Changes:
- Add OpenAI provider configuration (gpt-4o model)
- Keep Claude as default provider
- Support switching between providers
- Use scoped API keys (AVANTE_ANTHROPIC_API_KEY, AVANTE_OPENAI_API_KEY)

New Features:
- <leader>as: Switch between Claude and OpenAI
- Both providers fully configured and ready to use
- Fallback to legacy keys (ANTHROPIC_API_KEY, OPENAI_API_KEY)

Documentation:
- Created AVANTE_SETUP.md with complete multi-provider guide
- API key setup instructions (scoped vs global)
- When to use which provider
- Pricing comparison
- Troubleshooting guide
- All keybindings reference

Provider Configuration:
Claude (default):
  - Model: claude-sonnet-4-20250514
  - Best for: Complex code, deep reasoning, long context

OpenAI (alternative):
  - Model: gpt-4o
  - Best for: Fast responses, quick questions, image understanding

Usage:
1. Set AVANTE_ANTHROPIC_API_KEY and/or AVANTE_OPENAI_API_KEY
2. <leader>aa to open Avante
3. <leader>as to switch providers
4. Both providers work seamlessly

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

Co-Authored-By: Claude <noreply@anthropic.com>
…eovim configuration

- Introduced `keymaps.lua` to document all custom keymaps organized by category, enhancing discoverability.
- Updated `README.md` to include a comprehensive overview of the custom Neovim configuration, detailing plugin categories and keymap references.
- Removed obsolete plugin configurations for `avante.nvim` and `copilot` to streamline the setup.
- Enhanced documentation for existing plugins, including usage instructions and keybindings.

This commit improves the overall organization and usability of the Neovim configuration, making it easier for users to navigate and utilize custom keymaps effectively.
- Keep nvim-cmp, custom LSP servers, formatter/linter lists, treesitter textobjects
- Drop blink-cmp (upstream switched, we keep nvim-cmp)
- Take upstream type annotations, mini.ai conflict fix, lazy.nvim diagnostic disable
- Retain stylua automatic_enable exclusion fix and diagnostic config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Upstream migrated its plugin loading from lazy.nvim to Neovim's new
built-in vim.pack manager (requires Neovim 0.12+, which isn't installed
here yet). Kept lazy.nvim for this sync and folded in the rest of
upstream's changes:

- Kept our lazy.nvim setup (lazy-bootstrap.lua, lazy-plugins.lua) and
  dropped the new pack.lua/plugins.lua/blink-cmp.lua upstream added
- Kept our expanded plugin configs (conform, lint, lspconfig,
  typescript-tools, mini, neo-tree, telescope, tokyonight, which-key)
  which are supersets of upstream's defaults
- Pinned nvim-treesitter and nvim-treesitter-textobjects to the
  `master` branch, since upstream's treesitter config now targets the
  `main` branch's rewritten (breaking) API
- Ported genuine upstream improvements: lua_ls now skips overriding
  settings when a project has its own .luarc.json, and the Neovim
  config file search now follows symlinks
- Moved mapleader/maplocalleader/have_nerd_font into options.lua and
  the <Space> Nop mapping into keymaps.lua, matching upstream's split
- Reverted README.md, .gitignore's lockfile note, and the Neovim
  version healthcheck (0.12 -> 0.11) since they only make sense under
  vim.pack
@emmanuel-adu

Copy link
Copy Markdown
Author

Closing - this was opened against the wrong base repo (GitHub defaults PRs from a fork to the parent repo, not the fork itself - not an intended contribution to this project). The fork sync happened directly on emmanuel-adu/kickstart-modular.nvim:main instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant