Use emacs server and configure aliases and git

This commit is contained in:
Tobias Ostner 2024-07-25 10:51:10 +02:00
parent 86e9b383b1
commit 80e7f23c87
2 changed files with 7 additions and 0 deletions

View file

@ -515,6 +515,11 @@
:init :init
(savehist-mode)) (savehist-mode))
(use-package server
:defer 2
:config
(server-start))
(use-package smartparens (use-package smartparens
:hook ((prog-mode . smartparens-mode)) :hook ((prog-mode . smartparens-mode))
:bind :bind

View file

@ -154,6 +154,7 @@
userName = "Tobias Ostner"; userName = "Tobias Ostner";
userEmail = email; userEmail = email;
extraConfig = { extraConfig = {
core.editor = "emacsclient -c -a ''";
init.defaultBranch = "main"; init.defaultBranch = "main";
pull.rebase = true; pull.rebase = true;
rebase.updateRefs = true; rebase.updateRefs = true;
@ -186,6 +187,7 @@
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
shellAliases = { shellAliases = {
ls = "ls --color=auto -F"; ls = "ls --color=auto -F";
emacs = "emacsclient -c -a ''";
}; };
}; };
}; };