Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yxshv/nvim
my neovim config
https://github.com/yxshv/nvim
Last synced: 14 days ago
JSON representation
my neovim config
- Host: GitHub
- URL: https://github.com/yxshv/nvim
- Owner: yxshv
- Created: 2023-08-24T07:58:35.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-06T10:47:54.000Z (10 months ago)
- Last Synced: 2024-10-04T19:43:36.745Z (about 1 month ago)
- Language: Lua
- Size: 21.5 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ~/.config/nvim
My Neovim config
![an image of my neovim config, opened in alacritty terminal](https://github.com/yxshv/nvim/assets/93475253/a64bc730-08c9-4769-a8f4-b3d0bb24830f)
> The terminal used is [alacritty](https://alacritty.org/)## Usage
After cloning this repo in your config directory
Install packer from https://github.com/wbthomason/packer.nvim
Then just run
```
nvim +PackerSync
```
> You can also run `:PackerSync` inside nvimHow to add more languages for lsp (autocomplete & errors & go to definition) and synax highlight?
Inside `neovim`
- For Syntax Highlight: `:TSInstall `
- For LSP: `:MasonInstall `
> You can use tab to autcomplete the names of language## Keybindings
### Tabs
- `te` - create a new tab
- `TAB` - move to the next tab
- `SHIFT+TAB` - move to the previous tab### Terminal
- `CTRL+SPACE` - Toggling terminal
### File Finders
- `sf` - File browser
- `;f` - Fuzzy finder### LSP
- `,e` - Open diagnostic
- `,p` - Move to next diagnostic
- `,,p` - Move to previous diagnostic
- `,q` - Open a tab with listing all the diagnostics- `,d` - Get declaration (same as hovering on any other IDE)
- `,f` - Format code## Plugins used
[Packer](https://github.com/wbthomason/packer.nvim) for managing plugins
- Plenary.nvim - https://github.com/nvim-lua/plenary.nvim
- Telescope.nvim - https://github.com/nvim-telescope/telescope.nvim
- Telescope File Browser - https://github.com/nvim-telescope/telescope-file-browser.nvim
- bufferline.nvim - https://github.com/akinsho/bufferline.nvim
- vim-floaterm - https://github.com/voldikss/vim-floaterm
- kanagawa.nvim - https://github.com/rebelot/kanagawa.nvim
- Lualine.nvim - https://github.com/nvim-lualine/lualine.nvim
- nvim-treesitter - https://github.com/nvim-treesitter/nvim-treesitter
- nvim-lspconfig - https://github.com/neovim/nvim-lspconfig
- nvim-cmp - https://github.com/hrsh7th/nvim-cmp
- cmp-buffer - https://github.com/hrsh7th/cmp-buffer
- cmp-nvim-lsp - https://github.com/hrsh7th/cmp-nvim-lsp
- lspkind.nvim - https://github.com/onsails/lspkind.nvim
- LuaSnip - https://github.com/L3MON4D3/LuaSnip
- mason.nvim - https://github.com/williamboman/mason.nvim
- nvim-autopairs - https://github.com/windwp/nvim-autopairs