- Neovim 0.9+
- RipGrep
Optional dependencies based on your preferred LSPs and what Mason is installing.
- NodeJS
- Python 3.x Virtual Environment
Install requires Neovim 0.9+. Always review the code before installing a configuration.
- Clone the repository and install the plugins:
git clone git@github.com:Givo29/nvim ~/.config/nvim
- Open Neovim
- Lua
- config/init.lua: General configuration and settings
- config/lazy.lua: Lazy.nvim setup
- plugins/*: Plugin specific configuration
- bashls
- emmet_ls
- html
- lua_ls
- pylsp
- tailwindcss
- tsserver
- Leader: <space>
Mode | Keystroke | Action |
---|---|---|
v | K | Move selected line up |
v | J | Move selected line down |
n | J | Move below line to end of current line |
x | <leader>p | Preserve yank buffer when pasting over selected text |
n, v | <leader>y | Yank to system clipboard |
Mode | Keystroke | Action |
---|---|---|
n | <leader>a | Add file to harpoon buffer |
n | <ctrl>e | Toggle quick menu |
n | <ctrl>h | Select file 1 |
n | <ctrl>j | Select file 2 |
n | <ctrl>k | Select file 3 |
n | <ctrl>l | Select file 4 |
Mode | Keystroke | Action |
---|---|---|
n | gr | Find references |
n | gR | Rename object |
n | gD | Go to declaration |
n | gd | Go to definition |
n | gi | Show implementation |
n | gt | Go to type definition |
n, v | ga | Show code actions |
n | K | Show documentation |
n | <leader>rs | Restart LSP client |
Mode | Keystroke | Action |
---|---|---|
n | gq | Format current file |
v | gq | Format current selection |
Mode | Keystroke | Action |
---|---|---|
i | <C-Space> | Show autocomplete suggestions |
i | <C-e> | Close autocomplete suggestions |
i | <CR> | Accept selected suggestion |
i | <C-k> | Previous suggestion |
i | <C-j> | Next suggestion |
i | <C-b> | Scroll docs up |
i | <C-f> | Scroll docs down |
Mode | Keystroke | Action |
---|---|---|
a | <ctrl>\ | Toggle Terminal |
Mode | Keystroke | Action |
---|---|---|
n | <leader>t | Toggle for current buffer |
n | <leader>R | Toggle for current project |
n | <leader>ts | Toggle trouble symbols |
n | <leader>tq | Toggle quick fix list |
Mode | Keystroke | Action |
---|---|---|
n | <leader>u | Toggle undotree |
This readme was generated by Dotfyle