diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-07-26 10:38:18 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-07-26 10:38:18 -0700 |
| commit | 8e3d469ce4eb25a04f8154cbab737d88976fd8f8 (patch) | |
| tree | 170f0938514bddbf9b1a567969735533eed8876d /users/programs/emacs/init.el | |
| parent | add themes in toml format for alacritty (diff) | |
| download | infra-8e3d469ce4eb25a04f8154cbab737d88976fd8f8.tar.gz | |
move emacs configuration under users/programs/emacs
This is more consistent.
Diffstat (limited to 'users/programs/emacs/init.el')
| -rw-r--r-- | users/programs/emacs/init.el | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/users/programs/emacs/init.el b/users/programs/emacs/init.el new file mode 100644 index 0000000..973e4ad --- /dev/null +++ b/users/programs/emacs/init.el @@ -0,0 +1,42 @@ +;;; init.el --- This is where all emacs start. -*- lexical-binding: t -*- + +;;; Commentary: + +;;; Code: + +(add-to-list 'load-path (concat user-emacs-directory (convert-standard-filename "site-lisp/"))) + +(use-package exec-path-from-shell + :custom + (exec-path-from-shell-variables '("PATH" "MANPATH" "GOPATH" "GOBIN" "ASPELL_CONF")) + :init (exec-path-from-shell-initialize)) + +(require 'init-base) +(require 'init-ui) +(require 'init-completion) +(require 'init-text) +(require 'init-programming) +(require 'init-llm) + +(use-package server + :config + (setq server-client-instructions nil) + (unless (server-running-p) + (server-start))) + +(use-package eshell + :commands (eshell eshell-command) + :bind (("C-r" . consult-history)) + :custom + (eshell-hist-ignoredups t) + (eshell-history-size 50000) + (eshell-ls-dired-initial-args '("-h")) + (eshell-ls-initial-args "-h") + (eshell-ls-exclude-regexp "~\\'") + (eshell-save-history-on-exit t) + (eshell-stringify-t nil) + (eshell-term-name "ansi")) + +;;; init.el ends here +;; byte-compile-warnings: (not docstrings lexical noruntime) +;; End: |
