|
|
||
|---|---|---|
| README.md | ||
| init.lua | ||
| lazy-lock.json | ||
README.md
Neovim Configuration
A modern Neovim configuration using lazy.nvim for plugin management.
Installation
-
Make sure you have Neovim 0.8+ installed
-
Clone or copy the
init.luafile to your Neovim configuration directory:# For Linux/macOS cp init.lua ~/.config/nvim/ # Or if using this directory structure # The init.lua is already in ~/.vim/ -
Start Neovim - lazy.nvim will automatically install all plugins on first launch
Plugins Included
- lazy.nvim - Plugin manager
- CtrlP - Fuzzy file finder (
<Ctrl-P>to open) - lualine - Modern status line
- gitsigns - Git change indicators
- indent-blankline - Visual indent guides
- bufferline - Tab-like buffer management
- tokyonight - Beautiful colorscheme
- todo-comments.nvim - TODO comment highlighting
Key Features
- Line numbers and relative line numbers enabled
- Syntax highlighting enabled
- 2-space indentation
- Smart case searching
- True color support
- Git integration with visual indicators
Usage
File Navigation
<Ctrl-P>- Open CtrlP fuzzy finder:e filename- Open file:bn/:bp- Next/previous buffer
Git
- Git changes are automatically highlighted in the gutter
+for additions,~for changes,_for deletions
TODO Management
The configuration highlights TODO comments in your code:
TODO:,FIXME:,HACK:,WARN:,PERF:,NOTE:,TEST:
Customization
Edit init.lua to customize:
- Plugin configurations
- Key mappings
- Neovim settings
- Colorscheme options
Troubleshooting
If plugins don't load:
- Check Neovim version:
:version - Check plugin status:
:Lazy - Update plugins:
:Lazy update - Check for errors:
:messages