Go to file
2023-02-07 13:44:37 +01:00
ftplugin Configure and fix syntax 2022-10-18 18:46:58 +02:00
lua Configure ranger's shortcuts 2023-02-07 13:44:24 +01:00
init.lua Force use of LFs as EOLs 2023-02-07 13:44:37 +01:00
README.md Fix README 2022-10-20 15:14:43 +02:00

Fully featured neo-vim configuration

This repository contains my personnal neovim setup, intended to replace my old vim setup.

Next are a few usefull informations that I mainly wrote for me to remember but that should allow you to use the same setup as me if you want to.

Installation

Clone the repository

This will create a new nvim folder in your .config folder, containing all the configuration stuff

git clone https://github.com/Steins7/nvim ~/.config/nvim

And that's it for the configuration part. Once nvim is started, the necessary plugins will be automatically fetched and stored ~/.local/nvim. At this point, you are ready to install the external depencies needed for all those plugins to work properly.

External depencies

Here is a list of all external depencies you'll need:

  • universal ctags, ctags won't work (note that arch's universal ctags package is named ctags...), for tagbar
  • tree-sitter, for syntax coloration
  • rust-analyzer, as LSP server

On arch, you can just use the following command :

pacman -Syu ctags tree-sitter rust-analyzer

Once the dependencies are installed, type :checkhealth to verify that everything is properly detected. You should, at most, see a warning about node and another about the clipboard.

Syntax coloration

By default, this config only supports C/C++, Lua and Rust. You can add more default languages in lua/plugins.lua or add them on the fly by typing :TSInstall <language name>

Tinkering

The configuration is quite small and straight-forward :

  • init.lua contains all the configuration and key bindings, see more information here
  • lua/plugins.lua contains the list of plugins, see more information here