Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

lars-vc/neovim-config

Repository files navigation

OUTDATED IN FAVOR OF DOTFILES

NeoVim configfiles

Install

Automatic install

!Beware, not tested yet!

Run:

mkdir -p ~/.config/nvim/
cd ~/.config/nvim/
git clone https://github.com/lars-vc/neovim-config .
chmod +x install.sh
./install.sh

Then open nvim and do:

:PlugInstall!

Manual install

First install NeoVim, this can be done like so:

sudo apt install neovim

Sometimes the ubuntu version might run behind, fix that by adding this stable ppa or this unstable ppa:

sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt update
sudo apt upgrade

Then add the config by cloning in ~/.config/nvim:

mkdir -p ~/.config/nvim/
cd ~/.config/nvim/
git clone https://github.com/lars-vc/neovim-config .

Finally run nvim, you will get a lot of errors on startup but this is normal! Run:

:PlugInstall!

in NeoVim, then close and relaunch.

Now you are all setup inside of NeoVim. However some plugins might still not function properly due to them having some dependencies, see below to fix this.

Dependencies

Font

DejaVuSansMono Nerd Font Mono, Any Nerd Font should probably work.

Wakatime

Fill in your API key when the plugin asks for it.

Node

sudo apt install npm
sudo npm install -g yarn
sudo npm cache clean -f
sudo npm install -g n
sudo n stable

Python3

sudo apt install python3
sudo apt install python3-pip

Tagbar

sudo apt install exuberant-ctags

Git

curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh

also setup gh auth

Neoclip

sudo apt install sqlite3 libsqlite3-dev

Other stuff

pip install ropevim
sudo apt install ripgrep
sudo apt install wdutch

Known Problems

Vimplug not running commands

run the commands given as argument to vimplug (the ones after 'do' : ...).

Fzf extension for telescope

cd plugged/telescope-fzf-native.nvim
make

Markdown previewer

cd plugged/markdown-preview.nvim/app
yarn install

Cause

If you get weird errors while typing cause just remove the plugged/ directory and do

:PlugInstall

inside neovim.

All plugins

Minor annoyances to fix

  • Floaterm cutting off output

Maybelookats

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published