Prerequisites
Before installing Magictt, ensure you have the following requirements:Required
- Neovim 0.8.0 or higher: Check your version with
nvim --version - Git: For cloning the repository and plugin management
- Node.js and npm: Required for several LSP servers and formatters
- A C compiler: Needed for building Telescope’s FZF native extension (gcc, clang, or MSVC)
Recommended
- Ripgrep: For better telescope live grep performance (
rg) - fd: For faster file finding in Telescope
- A Nerd Font: For proper icon rendering (e.g., JetBrainsMono Nerd Font, Hack Nerd Font)
- True color terminal: iTerm2, Alacritty, WezTerm, or Windows Terminal
Make sure your terminal emulator is configured to use a Nerd Font for the best visual experience.
Installation Steps
Backup Your Existing Config
If you have an existing Neovim configuration, back it up before proceeding:
Clone the Repository
Clone the Magictt configuration into your Neovim config directory:Replace
<your-magictt-repo-url> with the actual repository URL.Launch Neovim
Start Neovim for the first time:On first launch, lazy.nvim will automatically:
- Bootstrap itself from GitHub
- Install all configured plugins
- Compile Telescope FZF native extension
- Set up the plugin environment
Install LSP Servers and Formatters
Once Neovim opens, Mason will automatically install the required language servers and tools. You can monitor the installation process:The following will be installed automatically:Language Servers:
- ts_ls (TypeScript/JavaScript)
- html, cssls
- tailwindcss
- svelte
- lua_ls (Lua)
- graphql
- emmet_ls
- prismals
- pyright (Python)
- eslint
- prettier
- stylua
- black, isort (Python)
- pylint
- eslint_d
Mason will download and install these tools in the background. You can continue working while they install.
Verify Installation
Check that everything is working correctly:
-
Check Plugin Status:
All plugins should show a green checkmark.
-
Verify LSP:
Open a TypeScript or JavaScript file and run:
You should see the language server attached.
-
Test Telescope:
Press
<Space>ffto open the file finder. -
Check Treesitter:
Parsers will install on-demand when you open files.
Post-Installation Configuration
Update Plugins
To update all plugins to their latest versions:Install Additional Language Support
To add support for more languages:-
Open Mason:
-
Search for your language server (use
/to search) -
Press
ito install the selected server -
Configure the server in
~/.config/nvim/lua/magictt/plugins/lsp/mason.lua
Troubleshooting
Plugins Not Installing
If lazy.nvim fails to install plugins:Telescope FZF Not Building
If you see errors about FZF native extension:LSP Not Attaching
If language servers aren’t working:-
Check if the server is installed:
-
Check LSP logs:
-
Restart the LSP:
Icons Not Displaying
If you see boxes or missing icons:- Install a Nerd Font from nerdfonts.com
- Configure your terminal to use the Nerd Font
- Restart your terminal and Neovim
Mason Installation Failures
If Mason can’t install tools:Next Steps
Now that you have Magictt installed, check out the quickstart guide to learn the essential keybindings and workflows:Quickstart Guide
Learn the essential keybindings to become productive immediately