Set EDITOR to command line emacs, add VISUAL env var

This commit is contained in:
Erwin Boskma 2024-11-13 17:23:55 +01:00
parent 0ac1606a38
commit b3aa9a97d2
Signed by: erwin
SSH key fingerprint: SHA256:OCinH/khuGY1LA9RG8YLM8GNH6C1DDXBdy3SNE+I5Hw
2 changed files with 5 additions and 2 deletions

View file

@ -199,7 +199,8 @@ in
username = "erwin";
homeDirectory = "/home/erwin";
sessionVariables = {
EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacs -nw";
VISUAL = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
};
stateVersion = "24.05";

View file

@ -222,7 +222,8 @@ in
username = "erwin";
homeDirectory = "/home/erwin";
sessionVariables = {
EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacs -nw";
VISUAL = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
};
stateVersion = "24.05";
@ -273,6 +274,7 @@ in
ripgrep
s-tui
stress
tio
units
unzip
xdg-utils