Skip to content

Conversation

xgenos
Copy link

@xgenos xgenos commented Oct 1, 2025

Add support for lazy loading with lazy.nvim, vim-plug, packer.nvim, and dein.vim
to improve startup performance. Plugin now loads on-demand when using :Magit
commands or M keybinding.

Changes:

  • Refactor key mapping to use pattern for lazy loading compatibility
  • Wrap autocommands in augroup for better lifecycle management
  • Add comprehensive lazy loading documentation to README.md
  • Include configuration examples for all major plugin managers
  • Maintain 100% backwards compatibility with existing setups

Benefits:

  • Faster Vim/Neovim startup times
  • On-demand loading without functionality changes
  • Support for optional dependencies (gitgutter, vim-airline)

Add support for lazy loading with lazy.nvim, vim-plug, packer.nvim, and
dein.vim
to improve startup performance. Plugin now loads on-demand when using
:Magit
commands or <leader>M keybinding.

Changes:
- Refactor key mapping to use <Plug> pattern for lazy loading
compatibility
- Wrap autocommands in augroup for better lifecycle management
- Add comprehensive lazy loading documentation to README.md
- Include configuration examples for all major plugin managers
- Maintain 100% backwards compatibility with existing setups

Benefits:
- Faster Vim/Neovim startup times
- On-demand loading without functionality changes
- Support for optional dependencies (gitgutter, vim-airline)
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