pinwheel: Set EDITOR and VISUAL to emacsclient

This commit is contained in:
Alexander Heldt
2023-10-05 22:38:15 +02:00
parent 4578b639ad
commit b769bb8dae
2 changed files with 5 additions and 1 deletions

View File

@@ -22,6 +22,11 @@ in
package = emacs; package = emacs;
}; };
home.sessionVariables = {
EDITOR = "${e}/bin/e";
VISUAL = "${e}/bin/e";
};
home.packages = [ home.packages = [
e e
emacs emacs

View File

@@ -40,7 +40,6 @@
]; ];
envExtra = lib.strings.concatStringsSep "\n" [ envExtra = lib.strings.concatStringsSep "\n" [
"EDITOR=vim"
"BROWSER=firefox" "BROWSER=firefox"
]; ];