From 9499761e7f185bb99d438b994a3dca1c6fe17ddc Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 1 Nov 2020 18:11:48 +0000 Subject: [PATCH] home-manager: set EDITOR and VISUAL to vim --- ops/nixos/lib/home-manager/common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ops/nixos/lib/home-manager/common.nix b/ops/nixos/lib/home-manager/common.nix index e655864813..63f750b85b 100644 --- a/ops/nixos/lib/home-manager/common.nix +++ b/ops/nixos/lib/home-manager/common.nix @@ -7,6 +7,10 @@ home.file = { ".hgrc".source = ./hgrc; }; + home.sessionVariables = { + EDITOR = "vim"; + VISUAL = "vim"; + }; programs.bash = { enable = true;