add vim with plugins
This commit is contained in:
parent
d0633a499f
commit
3b9646b446
|
@ -6,9 +6,31 @@ in
|
||||||
|
|
||||||
clementine.spotify = false;
|
clementine.spotify = false;
|
||||||
whitelistedLicenses = with lib.licenses; [ wtfpl ];
|
whitelistedLicenses = with lib.licenses; [ wtfpl ];
|
||||||
packageOverrides = pkgs: with pkgs; rec {
|
packageOverrides = pkgs: with pkgs;
|
||||||
# build with debug symbols and in debug mode (less optimized)
|
let
|
||||||
opencvDebug = enableDebugging ((opencv3.override {enablePython=true; enableGtk3=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";}));
|
myVimBundle = with pkgs.vimPlugins; {
|
||||||
};
|
# loaded on start
|
||||||
|
start = [
|
||||||
|
ale
|
||||||
|
ctrlp
|
||||||
|
deoplete-jedi
|
||||||
|
fugitive
|
||||||
|
nerdtree
|
||||||
|
nerdtree-git-plugin
|
||||||
|
supertab
|
||||||
|
vim-pandoc
|
||||||
|
vim-pandoc-syntax
|
||||||
|
vim-nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
rec {
|
||||||
|
# build with debug symbols and in debug mode (less optimized)
|
||||||
|
myVim = vim_configurable.customize {
|
||||||
|
name = "vim-with-plugins";
|
||||||
|
vimrcConfig.packages.myVimPackage = myVimBundle;
|
||||||
|
};
|
||||||
|
opencvDebug = enableDebugging ((opencv3.override {enablePython=true; enableGtk3=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";}));
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,7 +71,7 @@ let
|
||||||
];
|
];
|
||||||
|
|
||||||
cliApps = [
|
cliApps = [
|
||||||
vim
|
myVim
|
||||||
htop
|
htop
|
||||||
tmux
|
tmux
|
||||||
httpie
|
httpie
|
||||||
|
@ -219,4 +219,8 @@ in
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# programs.vim =
|
||||||
|
# { enable = true;
|
||||||
|
# };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue