Skip to content

fabian-gubler/nvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

      ,l;             c,      
   .:ooool'           loo:.   
 .,oooooooo:.         looooc, 
ll:,loooooool,        looooool
llll,;ooooooooc.      looooooo
lllllc,coooooooo;     looooooo
lllllll;,loooooool'   looooooo
lllllllc .:oooooooo:. looooooo
lllllllc   'loooooool,:ooooooo
lllllllc     ;ooooooooc,cooooo
lllllllc      .coooooooo;;looo
lllllllc        ,loooooool,:ol
 'cllllc         .:oooooooo;. 
   .;llc           .loooo:.   
      ,;             ;l;      

Fabian's NeoVim Config

Getting Started

Clone the repository:

git clone [email protected]:fabian-gubler/nvim-config.git ~/.config/nvim

Screenshot

config preview

Nix Environment

Note

Prequisites:

  1. Install Nix: Instructions for installation can be found here.
  2. Enable experimental features: Flake still considered experimental, more infos here.

Enter nix development environment:

# if direnv installed
direnv allow

# without direnv installed
nix develop

Now you have a dev environment for Neovim with Batteries included (e.g. lua lsp, formatter, luajit)

Reproducible Configuration

The philosophy behind this configuration is to allow for easily configurable and reproducible neovim environments using lazy plugin manager and nix flakes. Enter a directory using direnv and have a ready to go neovim configuration that is the same on every machine.

Reproducibility

~/.config/nvim
├── lazy-lock.json    // Lock and restore neovim plugins
├── flake.lock        // Lock neovim devtools declared in flake
└── .envrc            // Automatically enter nix environment and install pkgs

Refactoring Ideas

Using quarto with quarto-nvim for data science notebooks...

I am still deciding...

  • Moving away from auto save
  • Having automatic Formatting on save

About

My neovim config files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published