about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-04 07:07:39 -0800
committerFranck Cuny <franck@fcuny.net>2022-03-04 07:07:39 -0800
commit166b07bb0ddea14a32ad16978fc02279549c358f (patch)
tree782d61366f82190a27d75b3ea130768eaadb8f49 /users
parentdevel: install nixfmt (diff)
downloadworld-166b07bb0ddea14a32ad16978fc02279549c358f.tar.gz
home: switch to emacsclient for EDITOR
Diffstat (limited to 'users')
-rw-r--r--users/fcuny/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix
index fa6a24a..3e55cba 100644
--- a/users/fcuny/default.nix
+++ b/users/fcuny/default.nix
@@ -8,9 +8,10 @@
   programs.home-manager.enable = true;
 
   home.sessionVariables = {
+    EDITOR = "emacsclient -c -a=";
+    VISUAL = "emacsclient -c -a=";
     LANG = "en_US.UTF-8";
     LC_CTYPE = "en_US.UTF-8";
     LC_ALL = "en_US.UTF-8";
-    EDITOR = "vim";
   };
 }