helm/modules/editors/vim.nix
Henrik Lissner 5157b86963
Get rid of init scripts for rust, emacs and vim
It isn't very reliable.
2020-01-17 16:21:20 -05:00

18 lines
384 B
Nix

# When I'm stuck in the terminal or don't have access to Emacs, (neo)vim is my
# go-to. I am a vimmer at heart, after all.
{ config, lib, pkgs, ... }:
{
my = {
packages = with pkgs; [
editorconfig-core-c
neovim
];
env.EDITOR = "nvim";
env.VIMINIT = "let \\$MYVIMRC='\\$XDG_CONFIG_HOME/nvim/init.vim' | source \\$MYVIMRC";
alias.v = "nvim";
};
}