Skip to content

Conversation

@john-mutuma
Copy link
Owner

@john-mutuma john-mutuma commented Oct 27, 2025

What does this PR do?

This PR consolidates several environment and configuration improvements to enhance the NairoVIM development experience. The changes focus on better plugin integration through Snacks, theme adaptability for the installation script, and new tool integrations including Ghostty terminal and OpenCode AI assistant.

  • Migrate lazygit from standalone plugin to Snacks built-in integration
  • Enable additional Snacks features: bufdelete, notifier, and statuscolumn
  • Update install.sh to use ANSI colors that adapt to light/dark terminal themes
  • Add Ghostty terminal emulator configuration with TokyoNight theme and tmux-like keybindings
  • Add OpenCode AI assistant configuration with Claude Sonnet 4.5 model
  • Configure nvim as default editor for SSH sessions
  • Integrate bun runtime with completions and PATH configuration
  • Enhance OpenCode terminal with fixed width and markdown rendering support
  • Update plugin ecosystem (15 plugins updated)
  • Update AGENTS.md documentation

Why is it needed?

  • Snacks Integration: Consolidating lazygit into Snacks reduces plugin overhead and provides better integration with the Neovim ecosystem
  • Theme Adaptability: The previous 256-color codes in install.sh were illegible on light backgrounds; ANSI colors automatically adapt to terminal themes
  • Tool Integration: Ghostty and OpenCode enhance the development workflow with better terminal capabilities and AI assistance
  • Environment Consistency: Setting nvim as default editor and adding bun support ensures consistent development environment across sessions
  • Plugin Maintenance: Keeping plugins up-to-date ensures bug fixes, performance improvements, and new features

How have the changes been tested?

  • Tested install.sh color output on both light and dark terminal themes
  • Verified lazygit integration through Snacks plugin works correctly
  • Confirmed OpenCode terminal renders markdown properly with fixed width
  • Tested Ghostty keybindings for split management and tab navigation
  • Verified nvim launches correctly as default editor in SSH sessions
  • Confirmed bun commands work after PATH configuration

Checklist

  • Migrated lazygit to Snacks plugin
  • Removed redundant lazygit plugin files
  • Updated install.sh with ANSI colors
  • Added ghostty_config with keybindings
  • Added opencode.json configuration
  • Configured nvim as default editor in .zshrc
  • Added bun setup in .zshrc
  • Enhanced OpenCode terminal configuration
  • Updated plugin versions via lazy-lock.json
  • Updated AGENTS.md documentation
  • Tested all changes locally

John Mutuma added 8 commits October 27, 2025 23:37
…ility

Replace 256-color palette codes with standard ANSI colors (1-7) that automatically adjust based on the terminal's light/dark theme, ensuring readability in all environments. Also relocate scooter and ghostty config symlinks to install_dotfiles() function for better organization.
- Set nvim as default editor for SSH sessions
- Add bun completions and PATH configuration
- Fix commented editor configuration block
- Adjust opencode terminal width to 85 and fix width with winfixwidth
- Add opencode_output filetype to render-markdown for better markdown display in OpenCode responses
Update avante.nvim, lazy.nvim, lazydev.nvim, mason-lspconfig.nvim, mini.nvim, noice.nvim, nvim-cmp, nvim-lspconfig, opencode.nvim, render-markdown.nvim, snacks.nvim, tiny-inline-diagnostic.nvim, tokyonight.nvim, which-key.nvim, and zen-mode.nvim
- Add ghostty terminal configuration with TokyoNight theme and tmux-like keybindings
- Add opencode.json with Claude Sonnet 4.5 model and permission settings
@john-mutuma john-mutuma changed the title Migrate lazygit to Snacks plugin and enable additional features 2025-10-31: Environment enhancements and configuration improvements Oct 31, 2025
@john-mutuma john-mutuma merged commit ba9098d into develop Oct 31, 2025
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.

2 participants