https://github.com/renatosanz/nvim
My config files of neovim. Includes LSP, formatters, fzf & gruvbox theme.
https://github.com/renatosanz/nvim
lsp lua nvim nvim-configs
Last synced: about 1 year ago
JSON representation
My config files of neovim. Includes LSP, formatters, fzf & gruvbox theme.
- Host: GitHub
- URL: https://github.com/renatosanz/nvim
- Owner: renatosanz
- Created: 2024-12-09T21:43:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-17T14:37:08.000Z (over 1 year ago)
- Last Synced: 2025-02-11T12:23:42.732Z (about 1 year ago)
- Topics: lsp, lua, nvim, nvim-configs
- Language: Lua
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nvim
My configuration of nvim includes:
- telescope
- gruvbox theme
- lualine & bufferline
- confort (formatter)
- mason/mason-lsp (lsp manager)
- term (terminal in editor) *bugs*
- cmp (completations) + luasnip
- snacks
- plenary
- incline
- which-key
## Install
1. backup your current files (enable sudo if necessary)
```shell
mv ~/.config/nvim{,.bak}
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}
```
2. clone my repo
```
git clone https://github.com/renatosanz/nvim ~/.config/nvim
```
3. remove the .git
```
rm -rf ~/.config/nvim/.git
```
4. enter to nvim
```
nvim
```
## Keymaps
Some Keymaps I use are from LazyVim configuration, others from default libraries config.
| Description | `Command` |
|-------------------------------|--------------------|
| exit insert mode | `jk` |
| open telescope | `` |
| open telescope (ripgrep) | `ff` |
| open telescope (buffers) | `fb` |
| open Mason | `m` |
| open lazy | `l` |
| save current file | `ww` |
| exit file/nvim | `q` |
| save file & exit | `wq` |
| search a word in current file | `ds` |
| close current file | `bd` |
| toggle term | `fd` |
| open ~/.config/nvim | `n` |