From 5d508771ce5591335128c92dea5b144b36689c2d Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 22 Feb 2021 13:44:22 +0000 Subject: [PATCH] home: add vim This actually uses neovim... I'm done with trying to be compatible with both I haven't actually migrated my configuration to it yet, this is not even the bare minimum. We'll get there :-) --- home/default.nix | 1 + home/vim/default.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 home/vim/default.nix diff --git a/home/default.nix b/home/default.nix index 1afb62a..8312441 100644 --- a/home/default.nix +++ b/home/default.nix @@ -13,6 +13,7 @@ ./secrets # Home-manager specific secrets ./ssh.nix ./tmux.nix + ./vim ./xdg.nix ./zsh ]; diff --git a/home/vim/default.nix b/home/vim/default.nix new file mode 100644 index 0000000..01ac1e9 --- /dev/null +++ b/home/vim/default.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: +{ + programs.neovim = { + enable = true; + # All the aliases + viAlias = true; + vimAlias = true; + vimdiffAlias = true; + + plugins = with pkgs.vimPlugins; [ + vim-nix + ]; + }; +}