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

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.

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` |