Skip to content

nikbrunner/vin

Repository files navigation

Vin

Vin 2.0 with Terra Winter Night Theme and JetBrains Mono Font.


This is my personal Neovim configuration.

I tailored this config to my personal needs as a Frontend Engineer mainly working with React, TypeScript and SCSS.

  • As fast as possible
  • As simple as possible
  • As few plugins as possible

Install

Install requires Neovim 0.9+.

Clone the repository and install the plugins:

git clone git@github.com:nikbrunner/vin ~/.config/vin
NVIM_APPNAME=vin nvim --headless +"Lazy! sync" +qa

Open Neovim with this config, without an alias:

NVIM_APPNAME="vin" nvim

If you want to start this config when running nvim, you can set an alias, in your .bashrc or .zshrc:

alias nvim="NVIM_APPNAME=vin nvim"

Check for errors

Documentation: Lua Language Server - Usage | Wiki.

Note: The --configpath flag seems to be broken and requires a full path. See here: Settings don't seem to be applied when using linter from CLI · Issue #2038 · LuaLS/lua-language-server

lua-language-server --check ./lua --logpath=. --configpath=/Users/nikolausbrunner/.config/nvim/.luarc.json

Uninstall

To remove everything related to this config, run the following commands:

rm -rf ~/.config/vin
rm -rf ~/.local/share/vin

Make sure you have a nerd font installed.

Origin of Name

See here

Obsidian

I have a .vimrc config for my Obsidian Notes. To have a backup, a SSOT and standalone capabilities, I have a little script, which copies the .obsidian.vimrc to the Note folders.

sh ./obsidian/sync.sh

Links

General

Other Configs

This readme was partially generated by Dotfyle.