Neovim

Notes on Neovim.

Installation

Fedora

To install Neovim on Fedora simply run:

sudo dnf install -y neovim python3-neovim

vim-plug

To install vim-plug1 run:

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

The config file if not existing can created at ~/.config/nvim/init.vim.

The syntax is (for instance to add Crystal support):

call plug#begin()
        Plug 'vim-crystal/vim-crystal'
call plug#end()

Frameworks

LunarVim

File explorer

The default LunarVim file explorer is provided by lir. To show hidden files, you can press i on the explorer or add the configuration permanently as

require'lir'.setup {
		show_hidden_files = true,
		ignore = {".DS_Store"}, -- { ".DS_Store", "node_modules" } etc.
		devicons = {
		enable = true,
		highlight_dirname = true
	}
}

Front-ends

NeoVide

My favourite at the moment.