Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.1 KB

File metadata and controls

35 lines (24 loc) · 1.1 KB

What is this?

Tutorial/template for using Nix to create a portable Vim "distro" for vimconf that theoretically runs on ANY linux distribution.

Accompanying writeup.

Usage

For non-nixos linux distros: Three lines of bash: from zero to fully configured Vim with Nix.

git clone https://github.com/DieracDelta/vimconf_talk.git # (obtain code)
cd vimconf_talk && bash setup.sh                          # (install nix, modify bashrc)
source $HOME/.bashrc && nix run .                         # (build and run NeoVim)

For nixos with flakes enabled:

nix run github:DieracDelta/vimconf_talk

Removal

rm -rf $PWD

Thank yous

Special thanks to:

  • Gytis for completely rewriting my vim2lua translator the night or two before the talk
  • Zach. NeoVitality was the inspiration for this.
  • Aaron for listening and giving feedback.
  • DavHau for his really awesome nix-portable