Skip to content

Instantly share code, notes, and snippets.

@jlesquembre
Created August 26, 2020 08:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlesquembre/76f88645fffb856d5d82653a366316b7 to your computer and use it in GitHub Desktop.
Save jlesquembre/76f88645fffb856d5d82653a366316b7 to your computer and use it in GitHub Desktop.
Neovim + conjure shell.nix
# Usage:
# nix-shell --command nvim
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/b9ba82ef8ad6d8997840332ca3a2986e360291e3.tar.gz") { } }:
let
myNeovim = pkgs.neovim.override {
configure = {
customRC = ''
" here your custom configuration goes!
set termguicolors
colorscheme base16-default-dark
'';
packages.myVimPackage = with pkgs.vimPlugins; {
start = [
base16-vim
conjure
fugitive
];
opt = [ ];
};
};
};
in
pkgs.mkShell {
buildInputs = with pkgs; [
myNeovim
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment