helm/modules/editors/vim.nix
Henrik Lissner ee84fa45a2
Revert "Don't use zsh/rc.d system"
This reverts commit a7834176ec.
2019-12-08 23:56:58 -05:00

20 lines
402 B
Nix

{ config, lib, pkgs, ... }:
{
environment = {
sessionVariables = {
EDITOR = "nvim";
VIMINIT = "let \\$MYVIMRC='\\$XDG_CONFIG_HOME/nvim/init.vim' | source \\$MYVIMRC";
};
systemPackages = with pkgs; [
editorconfig-core-c
neovim
];
};
home-manager.users.hlissner.xdg.configFile = {
"zsh/rc.d/aliases.vim.zsh".source = <config/vim/aliases.zsh>;
};
}