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
- Host: GitHub
- URL: https://github.com/yoosoftcc/nvim
- Owner: yoosoftcc
- Created: 2024-09-13T19:11:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-13T19:35:54.000Z (almost 2 years ago)
- Last Synced: 2025-01-07T23:53:22.925Z (over 1 year ago)
- Language: Lua
- Homepage:
- Size: 7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
## 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** |