My Neovim configuration
This repository has been archived on 2024-09-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
2023-03-14 12:38:15 +01:00
lua first commit 2023-03-14 12:38:15 +01:00
init.lua first commit 2023-03-14 12:38:15 +01:00
README.md first commit 2023-03-14 12:38:15 +01:00

Neovim configuration

This is my Neovim configuratio all written in lua, Neovim 8 minimum is required. For Tree sitter working properly, you need g++ in Debian :

apt install g++ clang gcc

Then clone this repository:

git clone https://git.epha.se/ephase/nvim_config.git ~/.config/nvim

To install plugins, start nvim in headless mode with lua/plugins.lua config file:

nvim -u ~/.config/nvim/lua/plugins.lua --headless

Keybinding

Leader key is space

  • fm : open file manager
  • l : show all caracters (space, tab, eol)
  • [ : previous tab
  • ] : nest tab
  • gn : gitsign - goto next hunk
  • gN : gitsign - goto previous hunk
  • gs : gitsign - stage hunk
  • gr : gitsign - reset hunk
  • gd : gitsign - diff