doom emacs config time
This commit is contained in:
@@ -77,9 +77,30 @@
|
||||
|
||||
|
||||
(setq display-line-numbers-type 'relative)
|
||||
(after! org
|
||||
(setq org-roam-directory "~/org/")
|
||||
(setq org-roam-index-file "~/org/index.org"));; see https://list.orgmode.org/87r5718ytv.fsf@sputnik.localhost
|
||||
;; org-roam
|
||||
(use-package! org-roam
|
||||
:custom
|
||||
(org-roam-directory "~/org/Brain")
|
||||
(org-roam-dailies-directory "daily/")
|
||||
|
||||
(org-roam-capture-templates
|
||||
'(("d" "default" plain
|
||||
(function org-roam-capture--get-point)
|
||||
"%?"
|
||||
:file-name "${slug}" ; <---------- see?
|
||||
:head "#+title: ${title}\n#+created: %u\n#+last_modified: %U\n#+roam_tags:${tag}\n\n"
|
||||
:unnarrowed t
|
||||
:immediate-finish t :config)))
|
||||
|
||||
(org-roam-dailies-capture-templates
|
||||
'(("d" "default" entry
|
||||
"* %?"
|
||||
:target (file+head "%<%Y-%m-%d>.org"
|
||||
"#+title: %<%Y-%m-%d>\n"))))
|
||||
(org-roam-db-autosync-enable)
|
||||
(require 'org-roam-dailies))
|
||||
|
||||
|
||||
(eval-after-load 'org-list
|
||||
'(add-hook 'org-checkbox-statistics-hook (function ndk/checkbox-list-complete)))
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
'("e3daa8f18440301f3e54f2093fe15f4fe951986a8628e98dcd781efbec7a46f2" "467dc6fdebcf92f4d3e2a2016145ba15841987c71fbe675dcfe34ac47ffb9195" "98ef36d4487bf5e816f89b1b1240d45755ec382c7029302f36ca6626faf44bbd" default))
|
||||
'(delete-selection-mode nil)
|
||||
'(package-selected-packages
|
||||
'(chezmoi evil-numbers oauth2-request oauth2 org-caldav gruvbox-theme)))
|
||||
'(org-roam-ui chezmoi evil-numbers oauth2-request oauth2 org-caldav gruvbox-theme)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
;;nim ; python + lisp at the speed of c
|
||||
;;nix ; I hereby declare "nix geht mehr!"
|
||||
;;ocaml ; an objective camel
|
||||
(org +dnd) ; organize your plain life in plain text
|
||||
(org +dnd +roam2) ; organize your plain life in plain text
|
||||
;;php ; perl's insecure younger brother
|
||||
;;plantuml ; diagrams for confusing people more
|
||||
;;purescript ; javascript, but functional
|
||||
|
||||
53
private_dot_config/doom/packages.el
Normal file
53
private_dot_config/doom/packages.el
Normal file
@@ -0,0 +1,53 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; $DOOMDIR/packages.el
|
||||
|
||||
;; To install a package with Doom you must declare them here and run 'doom sync'
|
||||
;; on the command line, then restart Emacs for the changes to take effect -- or
|
||||
;; use 'M-x doom/reload'.
|
||||
|
||||
|
||||
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
||||
;(package! some-package)
|
||||
|
||||
;; To install a package directly from a remote git repo, you must specify a
|
||||
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
||||
;; https://github.com/radian-software/straight.el#the-recipe-format
|
||||
;(package! another-package
|
||||
; :recipe (:host github :repo "username/repo"))
|
||||
|
||||
;; If the package you are trying to install does not contain a PACKAGENAME.el
|
||||
;; file, or is located in a subdirectory of the repo, you'll need to specify
|
||||
;; `:files' in the `:recipe':
|
||||
;(package! this-package
|
||||
; :recipe (:host github :repo "username/repo"
|
||||
; :files ("some-file.el" "src/lisp/*.el")))
|
||||
|
||||
;; If you'd like to disable a package included with Doom, you can do so here
|
||||
;; with the `:disable' property:
|
||||
;(package! builtin-package :disable t)
|
||||
|
||||
;; You can override the recipe of a built in package without having to specify
|
||||
;; all the properties for `:recipe'. These will inherit the rest of its recipe
|
||||
;; from Doom or MELPA/ELPA/Emacsmirror:
|
||||
;(package! builtin-package :recipe (:nonrecursive t))
|
||||
;(package! builtin-package-2 :recipe (:repo "myfork/package"))
|
||||
|
||||
;; Specify a `:branch' to install a package from a particular branch or tag.
|
||||
;; This is required for some packages whose default branch isn't 'master' (which
|
||||
;; our package manager can't deal with; see radian-software/straight.el#279)
|
||||
;(package! builtin-package :recipe (:branch "develop"))
|
||||
|
||||
;; Use `:pin' to specify a particular commit to install.
|
||||
;(package! builtin-package :pin "1a2b3c4d5e")
|
||||
(package! org-roam-ui)
|
||||
(package! chezmoi)
|
||||
(package! org-caldav)
|
||||
(package! telega)
|
||||
|
||||
;; Doom's packages are pinned to a specific commit and updated from release to
|
||||
;; release. The `unpin!' macro allows you to unpin single packages...
|
||||
;(unpin! pinned-package)
|
||||
;; ...or multiple packages
|
||||
;(unpin! pinned-package another-pinned-package)
|
||||
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
||||
;(unpin! t)
|
||||
@@ -1,4 +1,4 @@
|
||||
font_family Fira Code
|
||||
font_family Monocraft Nerd Font
|
||||
font_size 12.5
|
||||
map ctrl+shift+l next_tab
|
||||
map ctrl+shift+h previous_tab
|
||||
|
||||
Reference in New Issue
Block a user