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

https://github.com/aminehmida/my-neovim-config


https://github.com/aminehmida/my-neovim-config

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# My neovim config

![Screenshot](Screenshot.png)

## How to install:

Install [vim-plug for neovim](https://github.com/junegunn/vim-plug#neovim)

Copy `init.vim` to `~/.config/nvim/init.vim` then open NeoVim and install plugins by typing `:PlugInstall`

## Features:

### Plugin list:

* All needed plugins to run [Server Language Protocol](https://microsoft.github.io/language-server-protocol/) for Go(lang) and Python.
* junegunn/fzf.vim
* ervandew/supertab
* SirVer/ultisnips
* honza/vim-snippets
* airblade/vim-gitgutter
* scrooloose/nerdcommenter
* kshenoy/vim-signature
* ntpeters/vim-better-whitespace

### Leader key:

Leader key is set to `;`

### Clipboard:

Neovim is set to used your default system clipboard. You can toggle between internal and system clipboard with .

### Line numbers:

Line numbers are set to hybrid relative.

* `` Toggle line numbers
* `` + `` Toggle between relative line numbers and normal line numbers.

### Quick exit:

`;` + `;` is mapped to in insert mode for a quick exit.

### Trailing spaces:

Trailing spaces are highlighted with read.

### Long lines:

Lines longer then 80 char are highlighted with red starting from char 81.

### Hidden characters:

* Spaces are represented with `.`
* New line are represented with `¬`
* Tabs are represented with `├───────`

This will help you a lot if you are a python developer.

### Splits:

Set vertical split to open on the right side and horizontal on the bottom.

### Spell check:

Spell check is enabled by default for latex and markdown files by default. Highlighting style is set to underlining words.

## Custom shortcuts:

* `ctrl` + `j`, `k`, `l`, `h` navigates between split without pressing `ctrl` + `w` before hand.
* `ctrl` + `p` open fzf file search
* `F11` Toggle system clipboard and internal clipboard.
* `F10` show syntax highlighting group (For debuging and themes).

## Hacks:

All plugins are installed using [vim-plug](https://github.com/junegunn/vim-plug)

## Thanks

* Vim creators
* NeoVim creators
* Plugin developers

Thanks for the amazing work :)