How do I update plugins?
How do I update plugins?
There are several ways to update plugins:Using Lazy.nvim UI:Or update specific plugins:Auto-updates:The configuration has
- Open Lazy panel:
<Space>ln(seelua/magictt/core/keymaps.lua:9) - Press
Uto update all plugins - Press
Sto sync (clean, install, and update)
checker.enabled = true (see lua/magictt/lazy.lua:15-17), which checks for updates automatically but doesn’t notify to avoid interruptions.How do I check LSP status?
How do I check LSP status?
Check active LSP servers:This shows:Check diagnostics:Or use the keybinding:
- Which servers are attached to the current buffer
- Server configuration details
- Server status (active/inactive)
- Show line diagnostics:
<Space>d(seelua/magictt/lsp.lua:35) - Show buffer diagnostics:
<Space>D(seelua/magictt/lsp.lua:32) - Navigate to next diagnostic:
]d - Navigate to previous diagnostic:
[d
<Space>rs (see lua/magictt/lsp.lua:51)Where are plugins installed?
Where are plugins installed?
Plugins are managed by Lazy.nvim and installed in:View plugin directory:Lazy.nvim location:Lazy.nvim itself is bootstrapped to:(See Configuration location:Your Neovim configuration files are in:Or check dynamically:
lua/magictt/lazy.lua:1)Mason tools location:LSP servers, formatters, and linters installed via Mason are stored in:How do I find available keybindings?
How do I find available keybindings?
All keybindings with leader (Check specific keybinding:See where a keybinding was defined:Core keybindings (from
<Space>):lua/magictt/core/keymaps.lua):jk(Insert mode) - Exit to Normal mode<Space>pv- Open file explorer (netrw)<Space>mm- Open Mason panel<Space>ln- Open Lazy panel<Space>nh- Clear search highlights
<Space>sv- Split vertically<Space>sh- Split horizontally<Space>se- Equal split size<Space>sx- Close split
<Space>to- New tab<Space>tx- Close tab<Space>tn- Next tab<Space>tp- Previous tab
lua/magictt/lsp.lua, only work when LSP is attached):gR- LSP referencesgD- Go to declarationgd- Go to definitiongi- LSP implementationsgt- Type definitions<Space>ca- Code actions<Space>rn- RenameK- Hover documentation
lua/magictt/plugins/telescope.lua):<Space>ff- Find files<Space>fr- Recent files<Space>fs- Live grep<Space>fc- Grep string under cursor<Space>ft- Find todos
lua/magictt/plugins/nvim-tree.lua):<Space>ee- Toggle nvim-tree<Space>ef- Toggle on current file<Space>ec- Collapse tree<Space>er- Refresh tree
How do I open Mason or Lazy?
How do I open Mason or Lazy?
Mason (LSP/tool installer):Using keybinding:Or using command:(Keybinding defined in Or using command:(Keybinding defined in
lua/magictt/core/keymaps.lua:8)In Mason UI:i- Install tool under cursoru- Update tool under cursorX- Uninstall tool under cursorg?- Show help
lua/magictt/core/keymaps.lua:9)In Lazy UI:I- Install missing pluginsU- Update pluginsS- Sync (clean, install, update)X- Clear finished tasksC- Check for updatesR- Restore plugins to lockfile state?- Show help
What Neovim version is required?
What Neovim version is required?
Minimum version:Neovim 0.9.0 or higher is recommended for this configuration.Check your version:Or from within Neovim:Why 0.9.0+?The configuration uses modern features:
vim.diagnostic.jump()(used inlua/magictt/lsp.lua:38-45)- Enhanced LSP capabilities
- Improved Treesitter integration
- Lazy.nvim requires Neovim 0.8.0+
- macOS (Homebrew):
brew upgrade neovim - Linux (AppImage): Download from GitHub releases
- Building from source: See Neovim installation guide
How do I disable auto-format on save?
How do I disable auto-format on save?
Auto-format is configured for JavaScript and TypeScript files in Permanent disable:Comment out or remove the auto-format configuration:Disable for specific file types:Modify the Manual formatting:You can still format manually:
lua/magictt/plugins/lsp/lsp.lua:19-24.Temporary disable (current session):pattern array to exclude certain file types:How do I add a new language server?
How do I add a new language server?
Step 1: Install via MasonOpen Mason and install the server:Find the server and press Step 3: Configure server (if needed)Most servers work out of the box with the default configuration. For custom settings, you can configure them in a separate file.Example: Adding Rust analyzer with custom settings:Create Verify installation:Open a file of the language type and check:
i to install.Step 2: Add to ensure_installed (optional)To automatically install on setup, add to lua/magictt/plugins/lsp/mason.lua:6-18:lua/magictt/plugins/lsp/rust.lua:How do I change the colorscheme?
How do I change the colorscheme?
The colorscheme is configured in Change colorscheme temporarily:Change colorscheme permanently:Edit Popular colorschemes:
lua/magictt/plugins/colorscheme.lua.Check current colorscheme:lua/magictt/plugins/colorscheme.lua and modify the configuration.Install a new colorscheme:Add to lua/magictt/plugins/colorscheme.lua or create a new plugin file:folke/tokyonight.nvimcatppuccin/nvimEdenEast/nightfox.nvimrebelot/kanagawa.nvimnavarasu/onedark.nvim
How do I view and navigate diagnostics?
How do I view and navigate diagnostics?
How do I use Telescope effectively?
How do I use Telescope effectively?
Core Telescope commands:Search hidden files:Search in specific directory:LSP with Telescope (available when LSP is attached):
<Space>ff- Find files in current directory<Space>fr- Find recent files<Space>fs- Live grep (search text in files)<Space>fc- Grep string under cursor<Space>ft- Find TODO comments
<C-j>/<C-k>- Move down/up in results (seelua/magictt/plugins/telescope.lua:19-20)<C-q>- Send selected to quickfix list<CR>(Enter) - Open selected file<Esc>- Close Telescope
gR- LSP referencesgi- LSP implementationsgt- LSP type definitions<Space>D- Buffer diagnostics
What happens on the first launch?
What happens on the first launch?
Automatic bootstrap sequence:
-
Lazy.nvim installation (see
lua/magictt/lazy.lua:1-11):- Clones Lazy.nvim from GitHub
- Installs to
~/.local/share/nvim/lazy/lazy.nvim
-
Plugin installation:
- Lazy.nvim reads plugin specs from
lua/magictt/plugins/ - Installs all defined plugins
- Runs build commands where specified
- Lazy.nvim reads plugin specs from
-
Mason auto-install:
- LSP servers listed in
ensure_installedare queued - Tools listed in
mason-tool-installerare queued
- LSP servers listed in
-
Treesitter parser installation (see
lua/magictt/plugins/treesitter.lua:13-36):- Parsers for configured languages are installed
- May take a few minutes on first launch
- Multiple installation windows will appear
- You may see compilation output for Treesitter parsers
- Some features won’t work until installation completes
- Restart Neovim to ensure all plugins are loaded
- Run
:checkhealthto verify everything is working
- Check
:Lazyfor plugin installation status - Check
:Masonfor LSP server installation status - Check
:TSInstallInfofor Treesitter parser status - Run
:checkhealthfor detailed diagnostics