https://github.com/arakkkkk/nvim
https://github.com/arakkkkk/nvim
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arakkkkk/nvim
- Owner: arakkkkk
- Created: 2023-05-10T22:11:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-20T07:14:38.000Z (7 months ago)
- Last Synced: 2025-03-20T07:38:01.247Z (7 months ago)
- Language: Lua
- Size: 190 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# neovim config
## Instration
### Linux
```sh
git clone https://github.com/arakkkkk/nvim ~/.config/nvim
sudo apt install nvim
```https://github.com/neovim/neovim/wiki/Installing-Neovim#appimage-universal-linux-package
1 cyan = "#56b6c2",
48 cyan_1 = "#c5f6fa",
1 cyan_2 = "#99e9f2",
2 cyan_3 = "#66d9e8",
3 purple = "#c678dd",
4 purple_1 = "#a9a1e1",
5
### Windows
```sh
git clone https://github.com/arakkkkk/nvim AppData/Local/nvim
winget install Neovim.Neovim
```## Plugins
See all plugins in [here](lua/core/plugins.lua).### LSP completion
1. Install LS with `:Mason`.
2. Set up automatically.
- nvim-lspconfig
- nvim-cmp
### Formatter
1. Install Formatter with `:Mason`.
2. Set up formatter with conform.nvim.
- `nvim/lua/configs/conform.lua`
### Linter
1. Install Formatter with `:Mason`.
2. Set up formatter with nvim-lint.nvim.
- `nvim/lua/configs/lint.lua`## Usage
### Keymap
See all keymaps in [here](lua/core/mappings.lua).| key | action | plugin |
| ----------------------- | --------------------------- | ----------------- |
| ff | Find file(file name) | telescope.nvim |
| fg | Search file | telescope.nvim |
| fo | File history | telescope.nvim |
| e | File tree | nvim-tree.lua |
| t | Code outline | aerial.nvim |
| K | Code information | lspsaga.nvim |
| gd | Jump definition | lspsaga.nvim |
| ga | Code action | lspsaga.nvim |
| [e / ]e | Next / Previous diagnostics | lspsaga.nvim |
| j | Jump cursole | hop.nvim |
| /// | Move cursole | smart-splits.nvim |
| / | Shift buffer | bufferline.nvim |
| | Floating term | toggleterm.nvim |
| ss | | |
| siw | | |## Others
### How to add LSP
1. Select and install LSP with Mason by `:Mason`
### check lsp status
`:LspInfo`### For python development
```
pip install pynvim
```### commands
### Registers
- "
- *
- clipboard
- +
- clipboard
- r
- command to quick run
- c
- command to run with !