aboutsummaryrefslogtreecommitdiff
path: root/users/programs/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'users/programs/emacs/init.el')
-rw-r--r--users/programs/emacs/init.el42
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: