helm/modules/editors/vim.nix

20 lines
402 B
Nix
Raw Normal View History

2019-08-06 10:56:54 -07:00
{ 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>;
};
}