mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(chore): change main branch to master (#250)
This commit is contained in:
@ -40,7 +40,7 @@ The recommended method is using use-package and straight, or a similar package m
|
|||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:hook
|
:hook
|
||||||
(after-init . org-roam-mode)
|
(after-init . org-roam-mode)
|
||||||
:straight (:host github :repo "jethrokuan/org-roam" :branch "develop")
|
:straight (:host github :repo "jethrokuan/org-roam")
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "/path/to/org-files/")
|
(org-roam-directory "/path/to/org-files/")
|
||||||
:bind (:map org-roam-mode-map
|
:bind (:map org-roam-mode-map
|
||||||
|
@ -7,7 +7,7 @@ The recommended method is using [use-package][use-package] and
|
|||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:hook
|
:hook
|
||||||
(after-init . org-roam-mode)
|
(after-init . org-roam-mode)
|
||||||
:straight (:host github :repo "jethrokuan/org-roam" :branch "develop")
|
:straight (:host github :repo "jethrokuan/org-roam")
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "/path/to/org-files/")
|
(org-roam-directory "/path/to/org-files/")
|
||||||
:bind (:map org-roam-mode-map
|
:bind (:map org-roam-mode-map
|
||||||
@ -31,7 +31,7 @@ git clone https://github.com/jethrokuan/org-roam/ ~/.emacs.d/elisp/org-roam
|
|||||||
:load-path "elisp/"
|
:load-path "elisp/"
|
||||||
:hook
|
:hook
|
||||||
(after-init . org-roam-mode)
|
(after-init . org-roam-mode)
|
||||||
:straight (:host github :repo "jethrokuan/org-roam" :branch "develop")
|
:straight (:host github :repo "jethrokuan/org-roam")
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "/path/to/org-files/")
|
(org-roam-directory "/path/to/org-files/")
|
||||||
:bind (:map org-roam-mode-map
|
:bind (:map org-roam-mode-map
|
||||||
@ -70,31 +70,31 @@ layer that wraps Org-roam. Paste the following into a new file
|
|||||||
```emacs-lisp
|
```emacs-lisp
|
||||||
(defconst org-roam-packages
|
(defconst org-roam-packages
|
||||||
'((org-roam :location
|
'((org-roam :location
|
||||||
(recipe :fetcher github :repo "jethrokuan/org-roam" :branch "develop"))))
|
(recipe :fetcher github :repo "jethrokuan/org-roam"))))
|
||||||
|
|
||||||
(defun org-roam/init-org-roam ()
|
(defun org-roam/init-org-roam ()
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:hook
|
:hook
|
||||||
(after-init . org-roam-mode)
|
(after-init . org-roam-mode)
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "/path/to/org-files/")
|
(org-roam-directory "/path/to/org-files/")
|
||||||
:init
|
:init
|
||||||
(progn
|
(progn
|
||||||
(spacemacs/declare-prefix "ar" "org-roam")
|
(spacemacs/declare-prefix "ar" "org-roam")
|
||||||
(spacemacs/set-leader-keys
|
(spacemacs/set-leader-keys
|
||||||
"arl" 'org-roam
|
"arl" 'org-roam
|
||||||
"art" 'org-roam-today
|
"art" 'org-roam-today
|
||||||
"arf" 'org-roam-find-file
|
"arf" 'org-roam-find-file
|
||||||
"arg" 'org-roam-show-graph)
|
"arg" 'org-roam-show-graph)
|
||||||
|
|
||||||
(spacemacs/declare-prefix-for-mode 'org-mode "mr" "org-roam")
|
(spacemacs/declare-prefix-for-mode 'org-mode "mr" "org-roam")
|
||||||
(spacemacs/set-leader-keys-for-major-mode 'org-mode
|
(spacemacs/set-leader-keys-for-major-mode 'org-mode
|
||||||
"rl" 'org-roam
|
"rl" 'org-roam
|
||||||
"rt" 'org-roam-today
|
"rt" 'org-roam-today
|
||||||
"rb" 'org-roam-switch-to-buffer
|
"rb" 'org-roam-switch-to-buffer
|
||||||
"rf" 'org-roam-find-file
|
"rf" 'org-roam-find-file
|
||||||
"ri" 'org-roam-insert
|
"ri" 'org-roam-insert
|
||||||
"rg" 'org-roam-show-graph))))
|
"rg" 'org-roam-show-graph))))
|
||||||
```
|
```
|
||||||
|
|
||||||
Next, append `org-roam` to the `dotspacemacs-configuration-layers`
|
Next, append `org-roam` to the `dotspacemacs-configuration-layers`
|
||||||
@ -112,7 +112,7 @@ Declare Org-roam as a package in your `~/.doom.d/packages.el`:
|
|||||||
;; ~/.doom.d/packages.el
|
;; ~/.doom.d/packages.el
|
||||||
|
|
||||||
(package! org-roam
|
(package! org-roam
|
||||||
:recipe (:host github :repo "jethrokuan/org-roam" :branch "develop"))
|
:recipe (:host github :repo "jethrokuan/org-roam"))
|
||||||
```
|
```
|
||||||
|
|
||||||
Subsequently, in your `~/.doom.d/config.el` file, configure Org-roam:
|
Subsequently, in your `~/.doom.d/config.el` file, configure Org-roam:
|
||||||
|
Reference in New Issue
Block a user