From b3aa9a97d201b85642b879a6c9f41b73f692ea55 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 13 Nov 2024 17:23:55 +0100 Subject: [PATCH] Set EDITOR to command line emacs, add VISUAL env var --- users/erwin/home.nix | 3 ++- users/erwin/work.nix | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/users/erwin/home.nix b/users/erwin/home.nix index 808fa26..43e735a 100644 --- a/users/erwin/home.nix +++ b/users/erwin/home.nix @@ -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"; diff --git a/users/erwin/work.nix b/users/erwin/work.nix index 30da90b..1060f9d 100644 --- a/users/erwin/work.nix +++ b/users/erwin/work.nix @@ -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