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

https://github.com/sukovanej/nvim-config

My neovim config
https://github.com/sukovanej/nvim-config

neovim nvim vim

Last synced: 10 months ago
JSON representation

My neovim config

Awesome Lists containing this project

README

          

# Neovim config

![screenshot](assets/screenshot.png)

## Features

- linting and completion using LSP
- syntax highlighting using TreeSitter
- fuzzy finder using FZF
- airline

## Installation

- install Nerd font - https://github.com/ryanoasis/nerd-fonts
- TreeSitter update should happen automatically after the initial installation but you can trigger it with `:TSUpdate`

## Installing languages LSP

```
:LspInstall
```

## Keybindings

### General

| Key | Action |
|-----------------------|-----------------------------------------------|
| `` | Find file |
| `a` | Fulltext search in files |
| `b` | Search open buffers |
| `` | clean selection (the same as :noh) |
| `` | Left window |
| `` | Right window |
| `` | Top window |
| `` | Bottom window |
| `gc` | Delete buffer |
| `gn` | Next buffer |
| `gN` | Previous buffer |
| `gC` | Delete all buffers but the selected one |

### LSP

| Key | Action |
|-----------------------|-----------------------------------------------|
| `gd` | Go to definition |
| `f` | Format file |
| `K` | Show information about symbol under cursor |
| `C-K` | Show signature of a function under cursor |
| `gR` | Rename a symbol under cursor |
| `gr` | Show references of a symbol under cursor |
| `ca` | Code actions |
| `e` | Show line diagnostics |
| `[e` | Diagnostic: previous |
| `]e` | Diagnostic: next |

### Neogit

| Key | Action |
|-----------------------|-----------------------------------------------|
| `gs` | Git status buffer |
| `gc` | Git commit |

### Terminal

| Key | Action |
|-----------------------|-----------------------------------------------|
| `` | Toogle terminal |

## TODO

- formatting