summaryrefslogtreecommitdiff
path: root/common.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-12-11 22:00:35 +0530
committersinanmohd <sinan@sinanmohd.com>2023-12-11 22:00:35 +0530
commitfc657f1d6b28cdeb0a15438fbdf9d0141eb23907 (patch)
treecf42d333735a3336eb9b91308c57a5efdfc3c086 /common.nix
parentb3d21315cba95bf6f19af3212218a799b78bbdfd (diff)
common: set EDITOR and VISUAL
Diffstat (limited to 'common.nix')
-rw-r--r--common.nix4
1 files changed, 4 insertions, 0 deletions
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";