Clone Repository and set as default nvim config
git clone git@github.com:redjoker011/nvim_lua.git ~/.config/nvim
Install Plugins using Lazy
open neovim and run :Lazy command
,<Space\>
<Leader> means you have to either hit , bar or Space
- global leader -
, - local leader -
<Space>
<C-w-s> means you have to hit Ctrl followed by w and s
<Leader>sf means you have to hit the Leader key(Space | ,) followed by s and f
| Mode | Description |
|---|---|
| n | Normal |
| v | Visual and Select |
| s | Select |
| x | Visual |
| o | Operator-pending |
| ! | Insert and Command-line |
| i | Insert |
| l | ":lmap" mappings for Insert, Command-line and Lang-Arg |
| c | Command-line |
| t | Terminal-Job |
| Key Binding | Description | Mode |
|---|---|---|
| <C-w-s> | Open new window in horizontal mode | n |
| <C-w-v> | Open new window in vertical mode | n |
| I | Insert Mode | n |
| Esc | Exit Insert Mode | i |
| <Leader>ev | Edit $VIMRC | n |
| <Leader>sv | Reload $VIMRC | n |
| Key Binding | Description | Mode |
|---|---|---|
| <Leader>? | Find recently opened files | n |
| <Leader><Space> | View existing buffers | n |
| <Leader>sf | Search File in directory | n |
| <Leader>sh | Search Help tags | n |
| <Leader>sg | Search for word or regrexp using Grep in directory | n |
| <Leader>sd | Search Diagnostics | n |
| Key Binding | Description | Mode |
|---|---|---|
| gd | Go To Definition | n |
| gr | Go To References | n |
| gI | Go To Implementation | n |
| <Leader>D | Type Definition | n |
| K | Hover Documentation | n |
| <Leader>ca | Code Action | n |
| <Leader>cR | Rename File | n |
| <Leader>ca | Rename | n |
| Key Binding | Description | Mode |
|---|---|---|
| <Leader>v | Toggle Nvim Tree | Nvim Tree |
| <Leader>t | Focus Nvim Tree | Nvim Tree |
| <C>v | Open file in vertical split | Nvim Tree |
| <C>x | Open file in horizontal split | Nvim Tree |
