mirror of
https://github.com/larstvei/dot-emacs.git
synced 2025-06-06 07:20:12 +00:00
Compare commits
4 Commits
56f6827eb3
...
72fbff0076
Author | SHA1 | Date | |
---|---|---|---|
72fbff0076 | |||
928dd3b770 | |||
4d8d763675 | |||
8cbecd9422 |
19
init.org
19
init.org
@ -165,7 +165,7 @@
|
|||||||
(let ((private-file (concat user-emacs-directory "private.el")))
|
(let ((private-file (concat user-emacs-directory "private.el")))
|
||||||
(when (file-exists-p private-file)
|
(when (file-exists-p private-file)
|
||||||
(load-file private-file))
|
(load-file private-file))
|
||||||
(when custom-file
|
(when (file-exists-p custom-file)
|
||||||
(load-file custom-file))
|
(load-file custom-file))
|
||||||
(server-start))))
|
(server-start))))
|
||||||
|
|
||||||
@ -194,6 +194,7 @@
|
|||||||
|
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
(setq use-package-always-ensure t)
|
(setq use-package-always-ensure t)
|
||||||
|
(setq use-package-compute-statistics t)
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@ -606,6 +607,7 @@
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
(use-package reveal-in-osx-finder
|
(use-package reveal-in-osx-finder
|
||||||
|
:defer t
|
||||||
:if (memq window-system '(mac ns)))
|
:if (memq window-system '(mac ns)))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
@ -649,6 +651,7 @@
|
|||||||
|
|
||||||
;; Highlight uncommitted changes using VC
|
;; Highlight uncommitted changes using VC
|
||||||
(use-package diff-hl
|
(use-package diff-hl
|
||||||
|
:defer t
|
||||||
:config
|
:config
|
||||||
(global-diff-hl-mode 1))
|
(global-diff-hl-mode 1))
|
||||||
|
|
||||||
@ -941,6 +944,7 @@
|
|||||||
;; LaTeX Back-End for Org Export Engine
|
;; LaTeX Back-End for Org Export Engine
|
||||||
(use-package ox-latex
|
(use-package ox-latex
|
||||||
:ensure nil
|
:ensure nil
|
||||||
|
:defer t
|
||||||
:after org
|
:after org
|
||||||
:config
|
:config
|
||||||
(setq org-export-allow-bind-keywords t
|
(setq org-export-allow-bind-keywords t
|
||||||
@ -1185,8 +1189,8 @@
|
|||||||
(setq gptel-backend (gptel-make-ollama "Ollama"
|
(setq gptel-backend (gptel-make-ollama "Ollama"
|
||||||
:host "localhost:11434"
|
:host "localhost:11434"
|
||||||
:stream t
|
:stream t
|
||||||
:models '("llama3.1:8b-instruct-q8_0"))
|
:models '("deepseek-r1"))
|
||||||
gptel-model "llama3"
|
gptel-model "deepseek-r1"
|
||||||
gptel-api-key (auth-source-pick-first-password
|
gptel-api-key (auth-source-pick-first-password
|
||||||
:host "api.openai.com")))
|
:host "api.openai.com")))
|
||||||
|
|
||||||
@ -1583,6 +1587,7 @@
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
(use-package clojure-mode
|
(use-package clojure-mode
|
||||||
|
:defer t
|
||||||
:config
|
:config
|
||||||
(setq clojure-toplevel-inside-comment-form t)
|
(setq clojure-toplevel-inside-comment-form t)
|
||||||
(define-clojure-indent
|
(define-clojure-indent
|
||||||
@ -1971,6 +1976,14 @@
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Zig
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
(use-package zig-mode)
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Which key
|
* Which key
|
||||||
|
|
||||||
[[https://github.com/justbur/emacs-which-key][Which key]] is nice for discoverability.
|
[[https://github.com/justbur/emacs-which-key][Which key]] is nice for discoverability.
|
||||||
|
Loading…
Reference in New Issue
Block a user