From fc657f1d6b28cdeb0a15438fbdf9d0141eb23907 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 11 Dec 2023 22:00:35 +0530 Subject: common: set EDITOR and VISUAL --- common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.nix b/common.nix index 2890cea..4e52b04 100644 --- a/common.nix +++ b/common.nix @@ -51,6 +51,10 @@ in # system environment = { binsh = "${pkgs.dash}/bin/dash"; + variables = { + EDITOR = "nvim"; + VISUAL = "nvim"; + }; shellAliases = { ls = "ls --color=auto --group-directories-first"; grep = "grep --color=auto"; -- cgit v1.2.3