High-tech weapons for true Tridge engineers
- Startup time: ~250ms (2.5x faster than baseline)
- Memory usage: ~2.6MB initial footprint
- Lazy loading: 86% of plugins load on-demand
$ cd ~
$ git clone https://github.com/tridge-hq/nvim-lua.git
$ cd nvim-lua
$ ./install.sh
- Plugin Manager: lazy.nvim with aggressive lazy loading
- LSP Support: Full language server integration via Mason
- Completion: nvim-cmp with AI assistance (Copilot)
- Syntax: Tree-sitter based highlighting
- File Navigation: nvim-tree and fzf.vim
- Git Integration: Gitsigns and Diffview
- Module caching enabled (
vim.loader) - Event-based plugin loading
- Command/key triggered tools
- Minimal startup footprint (8 core plugins)
Leader key: ,
<Leader>f- Find files (fzf)<Leader>b- List buffers<Leader>n- Toggle file tree<Leader>cf- Format code<Leader>cc- Comment toggle<C-,>- Claude Code
<Leader>gd- Diff view<Leader>gb- Git blame<Leader>gp- Preview changes
<Leader>ro- Spectre (find & replace)<Leader>rw- Replace word<Leader>rf- Replace in file
nvim-lua/
├── init.lua # Entry point
├── lua/
│ ├── core.lua # Core settings
│ ├── lsp.lua # LSP config
│ ├── configs.lua # Plugin configs
│ ├── keymaps.lua # Key mappings
│ └── plugins.lua # Plugin specs
└── install.sh # Installation script
Edit lua/plugins.lua to add plugins:
{
"author/plugin",
event = "BufReadPost", -- or cmd, keys, ft
config = function()
-- configuration
end,
}- Check startup time:
nvim --startuptime startup.log - Profile plugins:
:Lazy profile - View loaded plugins:
:Lazy
MIT