summaryrefslogtreecommitdiff
path: root/izumi.org
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 09:51:16 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 09:51:16 +0100
commitbc88cebdf3337b74521e0e5b093d4bb1e5c060a6 (patch)
tree3e922a8d3826d2ee9412688da79aeed645e10504 /izumi.org
parent38a87de2d6d1f71530c8590d2ae9db5d142f8e6f (diff)
Set emacsclient as the default editor
Vim being the editor that pops on every git commit is a problem for me. My editor of choice is Emacs. The EDITOR variable is set to "emacsclient -nw" in order to use emacs whenever an editor is needed.
Diffstat (limited to 'izumi.org')
-rw-r--r--izumi.org6
1 files changed, 5 insertions, 1 deletions
diff --git a/izumi.org b/izumi.org
index 0fd8277..0a9f776 100644
--- a/izumi.org
+++ b/izumi.org
@@ -774,7 +774,11 @@
#+BEGIN_SRC scheme
(list
<<EMACS-HOME-PROFILE>>
- <<HOME-FILES-SERVICE-TYPE>>)
+ <<HOME-FILES-SERVICE-TYPE>>
+ (simple-service
+ 'environment-variables
+ home-environment-variables-service-type
+ `(("EDITOR" . "emacsclient -nw"))))
#+END_SRC
#+NAME: SHELLS