Skip to content
Snippets Groups Projects
Commit 1ca7c6ae authored by Jens Nolte's avatar Jens Nolte
Browse files

Add neovim config

parent a799c479
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ let
#mypkg = haskell.packages.ghc865.callPackage ./mypkg { };
dotnet-sdk = callPackage ./dotnet-sdk { };
haskell-ide-engine = (import ./haskell-ide-engine { inherit pkgs; }).haskell-ide-engine;
neovim = (import ./neovim {inherit pkgs; }).neovim;
};
in newpkgs
{ pkgs }:
{
neovim = pkgs.neovim.override {
configure = {
customRC = ''
inoremap fd <Esc>
vnoremap fd <Esc>
set shiftwidth=2
set expandtab
set shiftround
set smartindent
filetype plugin indent on
'';
packages.myVimPackage = with pkgs.vimPlugins; {
start = [ vim-sneak ];
opt = [ ];
};
};
};
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment