Skip to content

Instantly share code, notes, and snippets.

@notgne2
Created December 23, 2019 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notgne2/76046448a6c0df6377f3df4f9a9b8227 to your computer and use it in GitHub Desktop.
Save notgne2/76046448a6c0df6377f3df4f9a9b8227 to your computer and use it in GitHub Desktop.
{
nixpkgs.overlays = [
(pkgs.runCommand "vim-aliases" {} ''
#!${pkgs.bash}/bin/bash
mkdir -p $out/bin
ln -s ${pkgs.neovim}/bin/neovim $out/bin/vim
ln -s ${pkgs.neovim}/bin/neovim $out/bin/vi
'')
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment