zeionara / nvim-configs

Configuration files for setting up neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

Default installation

To install using default options, execute the following command on a target machine:

curl -Ls https://bit.ly/setup-nvim | bash

Step-by-step

Install neovim from the latest .deb file in the list. For example, to install the stable release (v0.8.2 at the time of writing) download the file and then install the package:

wget https://github.com/neovim/neovim/releases/download/v0.8.3/nvim-linux64.deb
sudo apt install ./nvim-linux64.deb

Clone this repo as the root of the neovim config:

git clone git@github.com:zeionara/nvim-configs.git $HOME/.config/nvim

Install packer by cloning:

git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim

Install dependencies through packer:

nvim --headless +PackerInstall +q

Install ale:

mkdir -p ~/.local/share/nvim/site/pack/git-plugins/start
git clone --depth 1 https://github.com/dense-analysis/ale.git ~/.local/share/nvim/site/pack/git-plugins/start/ale

Additional settings

Swift

Install swift itself from the latest .deb in the list. For example, to install the stable release (5.7.3 at the time of writing) download the file and the install the package:

SWIFT_VERSION=5.7.3

cd /tmp
wget https://download.swift.org/swift-$VERSION-release/ubuntu2204/swift-$VERSION-RELEASE/swift-$VERSION-RELEASE-ubuntu22.04.tar.gz
sudo mv swift-$VERSION-RELEASE-ubuntu22.04 /usr/share/swift-$VERSION
echo "export PATH=$PATH:/usr/share/swift-$VERSION/usr/bin/:/usr/share/swift-$VERSION/" >> ~/.bashrc

Install required packages for the lsp server:

sudo apt-get install libncurses5

Tips

To see where an option was last set:

:verbose set formatoptions

About

Configuration files for setting up neovim


Languages

Language:Lua 82.1%Language:Shell 17.9%