Set editor and visual
This commit is contained in:
parent
19aa7f8fc4
commit
88b0d8bc41
|
@ -45,6 +45,11 @@
|
||||||
epkgs.pdf-tools
|
epkgs.pdf-tools
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
# Set emacs as the editor
|
||||||
|
home.sessionVariables = {
|
||||||
|
EDITOR = "emacsclient -c";
|
||||||
|
VISUAL = "emacsclient -c";
|
||||||
|
};
|
||||||
}))
|
}))
|
||||||
(lib.mkIf (config.nathan.programs.emacs.enable && pkgs.stdenv.isLinux) {
|
(lib.mkIf (config.nathan.programs.emacs.enable && pkgs.stdenv.isLinux) {
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
|
|
Loading…
Reference in New Issue