Remove package.el and setup straight.el
This commit is contained in:
parent
bc61c9dd6a
commit
8316896f09
2 changed files with 83 additions and 74 deletions
9
early-init.el
Normal file
9
early-init.el
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
;;; ~/.emacs.d/init.el --- Configuration file for Emacs
|
||||||
|
|
||||||
|
;;; Commentary:
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
(setq package-enable-at-startup nil)
|
||||||
|
|
||||||
|
;;; early-init.el ends here
|
||||||
|
|
148
init.el
148
init.el
|
@ -4,21 +4,9 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(require 'package)
|
|
||||||
|
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
|
||||||
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t)
|
|
||||||
;; keep the installed packages in .emacs.d
|
|
||||||
(setq package-user-dir (expand-file-name "elpa" user-emacs-directory))
|
|
||||||
(package-initialize)
|
|
||||||
;; update the package metadata is the local cache is missing
|
|
||||||
(unless package-archive-contents
|
|
||||||
(package-refresh-contents))
|
|
||||||
|
|
||||||
;; Always load newest byte code
|
;; Always load newest byte code
|
||||||
(setq load-prefer-newer t)
|
(setq load-prefer-newer t)
|
||||||
|
|
||||||
|
|
||||||
(setq inhibit-startup-screen t)
|
(setq inhibit-startup-screen t)
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
|
@ -86,21 +74,17 @@
|
||||||
(let ((fill-column (point-max)))
|
(let ((fill-column (point-max)))
|
||||||
(fill-region (region-beginning) (region-end) nil)))
|
(fill-region (region-beginning) (region-end) nil)))
|
||||||
|
|
||||||
(unless (package-installed-p 'use-package)
|
;;; Built-in packages
|
||||||
(package-install 'use-package))
|
|
||||||
|
|
||||||
(require 'use-package)
|
|
||||||
|
|
||||||
;;; built-in packages
|
|
||||||
(use-package paren
|
(use-package paren
|
||||||
:config
|
:config
|
||||||
(show-paren-mode 1))
|
(show-paren-mode 1))
|
||||||
|
|
||||||
;; highlight the current line
|
;; Highlight the current line
|
||||||
(use-package hl-line
|
(use-package hl-line
|
||||||
:config
|
:config
|
||||||
(global-hl-line-mode -1))
|
(global-hl-line-mode -1))
|
||||||
|
|
||||||
|
;; Better renaming rules for buffers with the same name
|
||||||
(use-package uniquify
|
(use-package uniquify
|
||||||
:config
|
:config
|
||||||
(setq uniquify-buffer-name-style 'forward)
|
(setq uniquify-buffer-name-style 'forward)
|
||||||
|
@ -110,31 +94,47 @@
|
||||||
;; don't muck with special buffers
|
;; don't muck with special buffers
|
||||||
(setq uniquify-ignore-buffers-re "^\\*"))
|
(setq uniquify-ignore-buffers-re "^\\*"))
|
||||||
|
|
||||||
|
;; Straight.el setup
|
||||||
|
(defvar bootstrap-version)
|
||||||
|
(let ((bootstrap-file
|
||||||
|
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
|
||||||
|
(bootstrap-version 5))
|
||||||
|
(unless (file-exists-p bootstrap-file)
|
||||||
|
(with-current-buffer
|
||||||
|
(url-retrieve-synchronously
|
||||||
|
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
|
||||||
|
'silent 'inhibit-cookies)
|
||||||
|
(goto-char (point-max))
|
||||||
|
(eval-print-last-sexp)))
|
||||||
|
(load bootstrap-file nil 'nomessage))
|
||||||
|
|
||||||
|
(straight-use-package 'use-package)
|
||||||
|
|
||||||
;; Theme
|
;; Theme
|
||||||
(use-package base16-theme
|
(use-package base16-theme
|
||||||
:ensure t
|
:straight t
|
||||||
:init
|
:init
|
||||||
(setq base16-theme-256-color-source 'base16-shell)
|
(setq base16-theme-256-color-source 'base16-shell)
|
||||||
:config
|
:config
|
||||||
(load-theme 'base16-default-dark t))
|
(load-theme 'base16-default-dark t))
|
||||||
|
|
||||||
;; (use-package color-theme-sanityinc-tomorrow
|
;; (use-package color-theme-sanityinc-tomorrow
|
||||||
;; :ensure t
|
;; :straight t
|
||||||
;; :config
|
;; :config
|
||||||
;; (load-theme 'sanityinc-tomorrow-night))
|
;; (load-theme 'sanityinc-tomorrow-night))
|
||||||
|
|
||||||
;; (use-package vscode-dark-plus-theme
|
;; (use-package vscode-dark-plus-theme
|
||||||
;; :ensure t
|
;; :straight t
|
||||||
;; :config
|
;; :config
|
||||||
;; (load-theme 'vscode-dark-plus t))
|
;; (load-theme 'vscode-dark-plus t))
|
||||||
|
|
||||||
(use-package mood-line
|
(use-package mood-line
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(mood-line-mode t))
|
(mood-line-mode t))
|
||||||
|
|
||||||
(use-package exec-path-from-shell
|
(use-package exec-path-from-shell
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(when (memq window-system '(mac ns x))
|
(when (memq window-system '(mac ns x))
|
||||||
(exec-path-from-shell-initialize)
|
(exec-path-from-shell-initialize)
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
(exec-path-from-shell-copy-env "GERBIL_HOME")))
|
(exec-path-from-shell-copy-env "GERBIL_HOME")))
|
||||||
|
|
||||||
(use-package ivy
|
(use-package ivy
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(ivy-mode 1)
|
(ivy-mode 1)
|
||||||
(setq ivy-use-virtual-buffers t)
|
(setq ivy-use-virtual-buffers t)
|
||||||
|
@ -154,12 +154,12 @@
|
||||||
(global-set-key (kbd "<f6>") 'ivy-resume))
|
(global-set-key (kbd "<f6>") 'ivy-resume))
|
||||||
|
|
||||||
(use-package swiper
|
(use-package swiper
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(global-set-key "\C-s" 'swiper))
|
(global-set-key "\C-s" 'swiper))
|
||||||
|
|
||||||
(use-package counsel
|
(use-package counsel
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(global-set-key (kbd "M-x") 'counsel-M-x)
|
(global-set-key (kbd "M-x") 'counsel-M-x)
|
||||||
(global-set-key (kbd "C-x C-f") 'counsel-find-file)
|
(global-set-key (kbd "C-x C-f") 'counsel-find-file)
|
||||||
|
@ -175,29 +175,29 @@
|
||||||
(define-key minibuffer-local-map (kbd "C-r") 'counsel-minibuffer-history))
|
(define-key minibuffer-local-map (kbd "C-r") 'counsel-minibuffer-history))
|
||||||
|
|
||||||
(use-package deadgrep
|
(use-package deadgrep
|
||||||
:ensure t
|
:straight t
|
||||||
:bind (("<f5>" . deadgrep)))
|
:bind (("<f5>" . deadgrep)))
|
||||||
|
|
||||||
(use-package ace-window
|
(use-package ace-window
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(global-set-key (kbd "M-o") 'ace-window)
|
(global-set-key (kbd "M-o") 'ace-window)
|
||||||
(setq aw-keys '(?q ?s ?d ?f ?g ?h ?j ?k ?l)))
|
(setq aw-keys '(?q ?s ?d ?f ?g ?h ?j ?k ?l)))
|
||||||
|
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:ensure t
|
:straight t
|
||||||
:bind (("C-x g" . magit-status)
|
:bind (("C-x g" . magit-status)
|
||||||
("C-x M-g" . magit-dispatch)))
|
("C-x M-g" . magit-dispatch)))
|
||||||
|
|
||||||
(use-package forge
|
(use-package forge
|
||||||
:ensure t
|
:straight t
|
||||||
:after magit)
|
:after magit)
|
||||||
|
|
||||||
(use-package yasnippet
|
(use-package yasnippet
|
||||||
:ensure t
|
:straight t
|
||||||
:diminish yas-minor-mode
|
:diminish yas-minor-mode
|
||||||
:init
|
:init
|
||||||
(use-package yasnippet-snippets :ensure t :after yasnippet)
|
(use-package yasnippet-snippets :straight t :after yasnippet)
|
||||||
:hook ((prog-mode LaTeX-mode org-mode) . yas-minor-mode)
|
:hook ((prog-mode LaTeX-mode org-mode) . yas-minor-mode)
|
||||||
:bind
|
:bind
|
||||||
(:map yas-minor-mode-map ("C-c C-n" . yas-expand-from-trigger-key))
|
(:map yas-minor-mode-map ("C-c C-n" . yas-expand-from-trigger-key))
|
||||||
|
@ -217,12 +217,12 @@
|
||||||
(ignore-errors (yas-next-field))))))
|
(ignore-errors (yas-next-field))))))
|
||||||
|
|
||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(add-hook 'after-init-hook #'global-flycheck-mode))
|
(add-hook 'after-init-hook #'global-flycheck-mode))
|
||||||
|
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:ensure t
|
:straight t
|
||||||
:init
|
:init
|
||||||
(setq projectile-completion-system 'ivy)
|
(setq projectile-completion-system 'ivy)
|
||||||
:config
|
:config
|
||||||
|
@ -232,16 +232,16 @@
|
||||||
(projectile-mode +1))
|
(projectile-mode +1))
|
||||||
|
|
||||||
(use-package yaml-mode
|
(use-package yaml-mode
|
||||||
:ensure t)
|
:straight t)
|
||||||
|
|
||||||
(use-package json-mode
|
(use-package json-mode
|
||||||
:ensure t)
|
:straight t)
|
||||||
|
|
||||||
(use-package cmake-mode
|
(use-package cmake-mode
|
||||||
:ensure t)
|
:straight t)
|
||||||
|
|
||||||
(use-package dockerfile-mode
|
(use-package dockerfile-mode
|
||||||
:ensure t)
|
:straight t)
|
||||||
|
|
||||||
(use-package flyspell
|
(use-package flyspell
|
||||||
:config
|
:config
|
||||||
|
@ -259,14 +259,14 @@
|
||||||
(global-set-key (kbd "C-<f8>") 'flyspell-check-previous-highlighted-word))
|
(global-set-key (kbd "C-<f8>") 'flyspell-check-previous-highlighted-word))
|
||||||
|
|
||||||
(use-package langtool
|
(use-package langtool
|
||||||
:ensure t
|
:straight t
|
||||||
:init
|
:init
|
||||||
(setq langtool-java-classpath
|
(setq langtool-java-classpath
|
||||||
"/usr/share/languagetool:/usr/share/java/languagetool/*"))
|
"/usr/share/languagetool:/usr/share/java/languagetool/*"))
|
||||||
|
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:commands lsp
|
:commands lsp
|
||||||
:ensure t
|
:straight t
|
||||||
:hook ((rust-mode . lsp)
|
:hook ((rust-mode . lsp)
|
||||||
(c-mode . lsp)
|
(c-mode . lsp)
|
||||||
(python-mode . lsp))
|
(python-mode . lsp))
|
||||||
|
@ -289,17 +289,17 @@
|
||||||
|
|
||||||
(use-package lsp-ui
|
(use-package lsp-ui
|
||||||
:commands lsp-ui-mode
|
:commands lsp-ui-mode
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(setq lsp-ui-sideline-show-hover nil)
|
(setq lsp-ui-sideline-show-hover nil)
|
||||||
(setq lsp-ui-doc-position 'top))
|
(setq lsp-ui-doc-position 'top))
|
||||||
|
|
||||||
(use-package lsp-ivy
|
(use-package lsp-ivy
|
||||||
:commands lsp-ivy-workspace-symbol
|
:commands lsp-ivy-workspace-symbol
|
||||||
:ensure t)
|
:straight t)
|
||||||
|
|
||||||
(use-package lsp-pyright
|
(use-package lsp-pyright
|
||||||
:ensure t
|
:straight t
|
||||||
:hook (python-mode . (lambda ()
|
:hook (python-mode . (lambda ()
|
||||||
(local-unset-key (kbd "C-f"))
|
(local-unset-key (kbd "C-f"))
|
||||||
(require 'lsp-pyright)
|
(require 'lsp-pyright)
|
||||||
|
@ -309,10 +309,10 @@
|
||||||
(flycheck-add-next-checker 'lsp 'python-pylint))
|
(flycheck-add-next-checker 'lsp 'python-pylint))
|
||||||
|
|
||||||
(use-package julia-mode
|
(use-package julia-mode
|
||||||
:ensure t)
|
:straight t)
|
||||||
|
|
||||||
(use-package julia-repl
|
(use-package julia-repl
|
||||||
:ensure t
|
:straight t
|
||||||
:hook (julia-mode . julia-repl-mode)
|
:hook (julia-mode . julia-repl-mode)
|
||||||
:init
|
:init
|
||||||
(setenv "JULIA_NUM_THREADS" "6")
|
(setenv "JULIA_NUM_THREADS" "6")
|
||||||
|
@ -320,7 +320,7 @@
|
||||||
(julia-repl-set-terminal-backend 'vterm))
|
(julia-repl-set-terminal-backend 'vterm))
|
||||||
|
|
||||||
(use-package dante
|
(use-package dante
|
||||||
:ensure t
|
:straight t
|
||||||
:after haskell-mode
|
:after haskell-mode
|
||||||
:commands 'dante-mode
|
:commands 'dante-mode
|
||||||
:init
|
:init
|
||||||
|
@ -328,7 +328,7 @@
|
||||||
(add-hook 'haskell-mode-hook 'flycheck-mode))
|
(add-hook 'haskell-mode-hook 'flycheck-mode))
|
||||||
|
|
||||||
(use-package lispy
|
(use-package lispy
|
||||||
:ensure t
|
:straight t
|
||||||
:hook ((emacs-lisp-mode
|
:hook ((emacs-lisp-mode
|
||||||
eval-expression-minibuffer-setup
|
eval-expression-minibuffer-setup
|
||||||
ielm-mode
|
ielm-mode
|
||||||
|
@ -342,7 +342,7 @@
|
||||||
gerbil-mode) . lispy-mode))
|
gerbil-mode) . lispy-mode))
|
||||||
|
|
||||||
(use-package slime
|
(use-package slime
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(require 'slime-autoloads)
|
(require 'slime-autoloads)
|
||||||
(setq slime-contribs '(slime-fancy slime-repl slime-quicklisp))
|
(setq slime-contribs '(slime-fancy slime-repl slime-quicklisp))
|
||||||
|
@ -361,11 +361,11 @@
|
||||||
(load "/home/dimitri/quicklisp/clhs-use-local.el" t))
|
(load "/home/dimitri/quicklisp/clhs-use-local.el" t))
|
||||||
|
|
||||||
(use-package racket-mode
|
(use-package racket-mode
|
||||||
:ensure t)
|
:straight t)
|
||||||
|
|
||||||
(use-package gerbil-mode
|
(use-package gerbil-mode
|
||||||
:when (getenv "GERBIL_HOME")
|
:when (getenv "GERBIL_HOME")
|
||||||
:ensure nil
|
:straight nil
|
||||||
:defer t
|
:defer t
|
||||||
:mode (("\\.ss\\'" . gerbil-mode)
|
:mode (("\\.ss\\'" . gerbil-mode)
|
||||||
("\\.pkg\\'" . gerbil-mode))
|
("\\.pkg\\'" . gerbil-mode))
|
||||||
|
@ -401,7 +401,7 @@
|
||||||
(comint-truncate-buffer)))))
|
(comint-truncate-buffer)))))
|
||||||
|
|
||||||
(use-package rust-mode
|
(use-package rust-mode
|
||||||
:ensure t)
|
:straight t)
|
||||||
|
|
||||||
;; Use APL font face in current buffer
|
;; Use APL font face in current buffer
|
||||||
(defun my-buffer-face-mode-apl ()
|
(defun my-buffer-face-mode-apl ()
|
||||||
|
@ -411,7 +411,7 @@
|
||||||
(buffer-face-mode))
|
(buffer-face-mode))
|
||||||
|
|
||||||
(use-package matlab
|
(use-package matlab
|
||||||
:ensure matlab-mode
|
:straight matlab-mode
|
||||||
:config
|
:config
|
||||||
;; This is a simple script to set the required environment variables
|
;; This is a simple script to set the required environment variables
|
||||||
;; before launching Matlab in Emacs. This prevents an issue where
|
;; before launching Matlab in Emacs. This prevents an issue where
|
||||||
|
@ -434,13 +434,13 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package dyalog-mode
|
(use-package dyalog-mode
|
||||||
:ensure t
|
:straight t
|
||||||
:hook (dyalog-mode . my-buffer-face-mode-apl)
|
:hook (dyalog-mode . my-buffer-face-mode-apl)
|
||||||
:custom
|
:custom
|
||||||
(dyalog-fix-whitespace-before-save t))
|
(dyalog-fix-whitespace-before-save t))
|
||||||
|
|
||||||
(use-package gnu-apl-mode
|
(use-package gnu-apl-mode
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(defface gnu-apl-default
|
(defface gnu-apl-default
|
||||||
'((t (:height 1.2 :family "APL385 Unicode"))) t)
|
'((t (:height 1.2 :family "APL385 Unicode"))) t)
|
||||||
|
@ -452,7 +452,7 @@
|
||||||
|
|
||||||
(use-package tex-site
|
(use-package tex-site
|
||||||
:defer t
|
:defer t
|
||||||
:ensure auctex
|
:straight auctex
|
||||||
:config
|
:config
|
||||||
(setq TeX-auto-save t)
|
(setq TeX-auto-save t)
|
||||||
(setq TeX-parse-self t)
|
(setq TeX-parse-self t)
|
||||||
|
@ -469,43 +469,43 @@
|
||||||
#'TeX-revert-document-buffer))
|
#'TeX-revert-document-buffer))
|
||||||
|
|
||||||
(use-package format-all
|
(use-package format-all
|
||||||
:ensure t
|
:straight t
|
||||||
:bind ("C-c C-f" . format-all-buffer))
|
:bind ("C-c C-f" . format-all-buffer))
|
||||||
|
|
||||||
(use-package restclient
|
(use-package restclient
|
||||||
:ensure t
|
:straight t
|
||||||
:defer t
|
:defer t
|
||||||
:mode (("\\.http\\'" . restclient-mode))
|
:mode (("\\.http\\'" . restclient-mode))
|
||||||
:bind (:map restclient-mode-map
|
:bind (:map restclient-mode-map
|
||||||
("C-c C-f" . json-mode-beautify)))
|
("C-c C-f" . json-mode-beautify)))
|
||||||
|
|
||||||
(use-package elfeed
|
(use-package elfeed
|
||||||
:ensure t
|
:straight t
|
||||||
:bind ("C-c f" . elfeed)
|
:bind ("C-c f" . elfeed)
|
||||||
:config
|
:config
|
||||||
(setq shr-width 100))
|
(setq shr-width 100))
|
||||||
|
|
||||||
(use-package elfeed-org
|
(use-package elfeed-org
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(elfeed-org)
|
(elfeed-org)
|
||||||
(setq rmh-elfeed-org-files (list "~/notes/elfeed.org")))
|
(setq rmh-elfeed-org-files (list "~/notes/elfeed.org")))
|
||||||
|
|
||||||
(use-package pdf-tools
|
(use-package pdf-tools
|
||||||
:ensure t
|
:straight t
|
||||||
:load-path "site-lisp/pdf-tools/lisp"
|
:load-path "site-lisp/pdf-tools/lisp"
|
||||||
:magic ("%PDF" . pdf-view-mode)
|
:magic ("%PDF" . pdf-view-mode)
|
||||||
:config
|
:config
|
||||||
(pdf-tools-install))
|
(pdf-tools-install))
|
||||||
|
|
||||||
(use-package nov
|
(use-package nov
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
||||||
(setq nov-text-width 100))
|
(setq nov-text-width 100))
|
||||||
|
|
||||||
(use-package twittering-mode
|
(use-package twittering-mode
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(setq twittering-reverse-mode nil))
|
(setq twittering-reverse-mode nil))
|
||||||
|
|
||||||
|
@ -534,7 +534,7 @@
|
||||||
(find-file "~/notes/bibliography/bibliography.bib"))
|
(find-file "~/notes/bibliography/bibliography.bib"))
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:ensure t
|
:straight t
|
||||||
:bind (("C-c l" . org-store-link)
|
:bind (("C-c l" . org-store-link)
|
||||||
("C-c a" . org-agenda)
|
("C-c a" . org-agenda)
|
||||||
("C-c b" . org-iswitchb)
|
("C-c b" . org-iswitchb)
|
||||||
|
@ -654,16 +654,16 @@
|
||||||
(setq org-latex-default-class "koma-article"))
|
(setq org-latex-default-class "koma-article"))
|
||||||
|
|
||||||
(use-package ox-pandoc
|
(use-package ox-pandoc
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(setq org-pandoc-options '((standalone . t)
|
(setq org-pandoc-options '((standalone . t)
|
||||||
(bibliography . "~/notes/bibliography/bibliography.bib"))))
|
(bibliography . "~/notes/bibliography/bibliography.bib"))))
|
||||||
|
|
||||||
(use-package org-fragtog
|
(use-package org-fragtog
|
||||||
:ensure t)
|
:straight t)
|
||||||
|
|
||||||
(use-package org-ref
|
(use-package org-ref
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(setq reftex-default-bibliography '("~/notes/bibliography/bibliography.bib"))
|
(setq reftex-default-bibliography '("~/notes/bibliography/bibliography.bib"))
|
||||||
(setq org-ref-bibliography-notes "~/notes/bibliography/notes.org"
|
(setq org-ref-bibliography-notes "~/notes/bibliography/notes.org"
|
||||||
|
@ -706,7 +706,7 @@
|
||||||
cslfile)))))
|
cslfile)))))
|
||||||
|
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:ensure t
|
:straight t
|
||||||
:hook (after-init . org-roam-mode)
|
:hook (after-init . org-roam-mode)
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "~/notes/notes")
|
(org-roam-directory "~/notes/notes")
|
||||||
|
@ -729,12 +729,12 @@
|
||||||
(setq org-roam-dailies-directory "daily/"))
|
(setq org-roam-dailies-directory "daily/"))
|
||||||
|
|
||||||
(use-package org-roam-bibtex
|
(use-package org-roam-bibtex
|
||||||
:ensure t
|
:straight t
|
||||||
:after org-roam
|
:after org-roam
|
||||||
:hook (org-roam-mode . org-roam-bibtex-mode))
|
:hook (org-roam-mode . org-roam-bibtex-mode))
|
||||||
|
|
||||||
(use-package deft
|
(use-package deft
|
||||||
:ensure t
|
:straight t
|
||||||
:after org
|
:after org
|
||||||
:bind ("C-c n d" . deft)
|
:bind ("C-c n d" . deft)
|
||||||
:custom
|
:custom
|
||||||
|
@ -744,14 +744,14 @@
|
||||||
(deft-directory "~/notes/notes"))
|
(deft-directory "~/notes/notes"))
|
||||||
|
|
||||||
(use-package ox-gfm
|
(use-package ox-gfm
|
||||||
:ensure t
|
:straight t
|
||||||
:after (org)
|
:after (org)
|
||||||
:config
|
:config
|
||||||
(eval-after-load "org"
|
(eval-after-load "org"
|
||||||
'(require 'ox-gfm nil t)))
|
'(require 'ox-gfm nil t)))
|
||||||
|
|
||||||
(use-package graphviz-dot-mode
|
(use-package graphviz-dot-mode
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(setq graphviz-dot-indent-width 4)
|
(setq graphviz-dot-indent-width 4)
|
||||||
(setq graphviz-dot-preview-extension "svg"))
|
(setq graphviz-dot-preview-extension "svg"))
|
||||||
|
@ -759,7 +759,7 @@
|
||||||
(use-package company-graphviz-dot)
|
(use-package company-graphviz-dot)
|
||||||
|
|
||||||
(use-package hledger-mode
|
(use-package hledger-mode
|
||||||
:ensure t
|
:straight t
|
||||||
:mode ("\\.journal\\'" "\\.hledger\\'")
|
:mode ("\\.journal\\'" "\\.hledger\\'")
|
||||||
:init
|
:init
|
||||||
(setq hledger-jfile (expand-file-name "~/.hledger.journal"))
|
(setq hledger-jfile (expand-file-name "~/.hledger.journal"))
|
||||||
|
@ -811,7 +811,7 @@
|
||||||
smtpmail-smtp-service 465))
|
smtpmail-smtp-service 465))
|
||||||
|
|
||||||
(use-package vterm
|
(use-package vterm
|
||||||
:ensure t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(setq vterm-kill-buffer-on-exit t)
|
(setq vterm-kill-buffer-on-exit t)
|
||||||
(global-set-key (kbd "C-x RET RET") 'vterm-other-window)
|
(global-set-key (kbd "C-x RET RET") 'vterm-other-window)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue