My Neovim setup, highly documented to serve as a guide.
I have used Neovim for almost a year as my main editor and now I feel very comfortable using it, so it seemed like a good idea to share my configuration as it is well documented.
This configuration requires at least Neovim v0.5 to work, although I currently use Neovim v0.6.
Leader key: space
ESCAPE alternative: CTRL c
Mapping | Mode | Actions |
---|---|---|
CTRLs | normal | Save Current File |
CTRLn | normal | Toggle Explorer |
CTRLTAB | normal | Jump to next buffer |
ZE | normal | Close all |
tt | normal | Duplicate current line |
gd | normal | Jump to Definition |
gr | normal | Jump to References |
gi | normal | Jump to Implementation |
CTRLp | normal | Fuzzy Find Files |
CTRLf | normal | Fuzzy Find Words |
Leaderf | normal | Jump to word |
F3 | normal | Format Current File |
Leadern | normal | Toggle Numbers |
ESC | normal | Turn off search highlighting |
Resize Windows:
Mapping | Mode | Actions |
---|---|---|
CTRLUp | normal | Resize -2% |
CTRLDown | normal | Resize +2% |
CTRLLeft | normal | Vertical Resize -2% |
CTRLRight | normal | Vertical Resize +2% |
All this mappings are defined in their respective ftplugin
:
Mapping | Mode | Actions |
---|---|---|
spacerp | normal | Go Run current file |
spacerp | normal | Python Run current file |
spacerp | normal | Node Run current file |
spacerp | normal | TypeScript Run current file |
spacerp | normal | Lua Run current file |
spacerp | normal | Ruby Run current file |
spacerl | normal | Ruby Fix current file |
For the definitions refer to plugin/mappings.lua
.
$HOME/.config/nvim
├── plugin: General Configuration
│ ├── mappings.lua
│ ├── telescope.lua
│ ├── lualine.lua
│ └── etc
├── snippets: snippets in json
│ ├── javascript.json
│ └── etc
├── utils: Some Utils
│ ├── assets/
│ ├── old-plugins-configuration/
│ └── etc
├── ftdetect: Detect filetypes that are not natively supported
│ ├── stylus.lua
│ ├── zig.lua
│ └── etc
├── ftplugin: Per filetype configuration
│ ├── python.lua
│ ├── javascript.lua
│ ├── ruby.lua
│ └── etc
└── coc-settings.json: Coc Config
See all screenshots on utils/assets/
.
Theme: marko-cerovac/material.nvim
MIT © UltiRequiem.