Created
August 26, 2020 08:57
-
-
Save jlesquembre/76f88645fffb856d5d82653a366316b7 to your computer and use it in GitHub Desktop.
Neovim + conjure shell.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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