Skip to content

nikbrunner/nbr.nvim

Repository files navigation

nbr.nvim

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.

Keymap

This editor uses AWDCS keymap principles.

Install

Install requires Neovim 0.9+.

Clone the repository and install the plugins:

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

Open Neovim with this config, without an alias:

NVIM_APPNAME="nbr" 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=nbr 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/nbr
rm -rf ~/.local/share/nbr

Make sure you have a nerd font installed.

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

Videos

About

This is my personal NeoVim config.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published