Overview
This Neovim configuration provides a minimal yet powerful development environment using vim-plug for plugin management. It includes file navigation, fuzzy finding, code completion, linting, and productivity enhancements.Key Features
Plugin Management
vim-plug for simple package management
File Navigation
NERDTree and Ranger integration
Fuzzy Finding
FZF for fast file searching
Code Quality
ALE for asynchronous linting
Installation
Configuration File
Plugin Setup
The configuration uses vim-plug to manage plugins:init.vim:1
Installed Plugins
- File Management
- Code Completion
- Code Quality
- Productivity
UI Configuration
init.vim:30
The colorscheme line is intentionally empty - choose from installed themes:
onedarkxcodenord
- Syntax highlighting enabled
- Line numbers displayed
- Relative line numbers for easy navigation
- Dark background theme
Editor Settings
init.vim:38
Setting Explanations
Setting Explanations
| Setting | Description |
|---|---|
mouse=a | Enable mouse support in all modes |
encoding=utf-8 | Use UTF-8 encoding |
hidden | Allow switching buffers without saving |
inccommand=split | Show substitution preview in split window |
Custom Keybindings
init.vim:49
Keybindings Reference
Function Keys
F8
Toggle NERDTree file explorer
F12
Install/update plugins
Leader Key Mappings
The leader key is set toSpace:
| Keybinding | Action |
|---|---|
Space + ; | Append semicolon to end of line |
Space + e + v | Edit init.vim in vertical split |
Space + s + v | Reload init.vim configuration |
Space + f | Open Ranger file manager |
Ctrl + p | Open FZF fuzzy finder |
Completion
Usage Guide
File Navigation
- NERDTree
- Ranger
- FZF
Press
F8 to toggle the file tree:NERDTree Commands:o- Open file or directoryt- Open in new tabi- Open in horizontal splits- Open in vertical splitm- Show file menu (create, delete, move)?- Show help
Multiple Cursors
Code Linting with ALE
ALE automatically checks your code as you type:Errors and warnings appear inline
Status bar shows error count
]a- Jump to next error[a- Jump to previous error:ALEDetail- Show detailed error message
Customization
Changing Color Scheme
Edit the colorscheme line ininit.vim:
onedark- Atom’s One Dark themexcodedarkhc- Xcode dark high contrastnord- Arctic, north-bluish theme
Adding New Plugins
Modifying Keybindings
Add custom keybindings after the existing ones:Color Schemes
Three color schemes are installed:One Dark
Atom’s iconic dark theme
Xcode
Apple’s Xcode theme
Nord
Arctic-inspired palette
Troubleshooting
Plugins not working
Plugins not working
- Open Neovim
- Run
:PlugInstall - Restart Neovim
- Check
:checkhealthfor issues
NeoComplete not working
NeoComplete not working
NeoComplete requires Neovim with Python support:Then run
:checkhealth to verifyFZF not found
FZF not found
Install FZF system-wide:
Ranger not opening
Ranger not opening
Install Ranger:Verify installation:
Quick Reload Configuration
After editinginit.vim, reload without restarting: