An open API service indexing awesome lists of open source software.

https://github.com/yoosoftcc/nvim

My personal Neovim configuration
https://github.com/yoosoftcc/nvim

Last synced: over 1 year ago
JSON representation

My personal Neovim configuration

Awesome Lists containing this project

README

          

# nvim

A modern neovim configuration that integrates [avante.nvim](https://github.com/yetone/avante.nvim), allowing the use of multiple LLM models for coding.


Screenshot

## Importants

### Font

[Install nerd-fonts](https://github.com/ryanoasis/nerd-fonts)

### Keymaps

#### General

| Key | Description | Mode |
| ------ | --- | --- |
| H | To the first char of the line | **n**, **v** |
| L | To the end of the line | **n**, **v** |
| jj | Exit insert mode | **i** |
| <Up> | Increase window height | **n** |
| <Down> | Decrease window height | **n** |
| <Left> | Decrease window width | **n** |
| <Right> | Increase window width | **n** |
| <C-h> | Go to left window | **n** |
| <C-j> | Go to lower window | **n** |
| <C-k> | Go to upper window | **n** |
| <C-l> | Go to right window | **n** |
| <M-j> | Move down | **n**, **i**, **v** |
| <M-k> | Move up | **n**, **i**, **v** |
| <leader>w | Save file | **n** |
| <leader>W | Save files | **n** |
| <leader>q | Quit | **n** |
| <leader>Q | Force quit | **n** |
| <leader>_ | Split below | **n** |
| <leader>\| | Split right | **n** |

#### Git

| Key | Description | Mode |
| -------------- | -------------- | -------------- |
| <leader>gg | Open lazy-git | **n,v** |

#### LSP

| Key | Description | Mode |
| -------------- | -------------- | -------------- |
| gd | Goto Definition | **n** |
| gD | Goto Declaration | **n** |
| gr | References | **n** |
| gi | Goto Implementation | **n** |
| gt | Goto Type Definition | **n** |
| K | Hover | **n** |
| gK | Signature Help | **n** |
| <C-k> | Signature Help | **i** |
| [d | Next Diagnostic | **n** |
| ]d | Prev Diagnostic | **n** |
| <leader>ca | Code Action | **n** |
| <leader>cr | Rename | **n** |
| <leader>cf | Format Document/Range | **n**, **v** |
| <leader>ll | Lsp log | **n** |
| <leader>li | Lsp info | **n** |
| <leader>lr | Lsp restart | **n** |