Compare commits
No commits in common. "32ddb062c02f82a4439e09d1b1fc0ee6f61c4633" and "8a5527c2d4347e76c5664602225b976eb9cbb380" have entirely different histories.
32ddb062c0
...
8a5527c2d4
1 changed files with 1 additions and 44 deletions
45
config.org
45
config.org
|
|
@ -483,15 +483,6 @@ C-c C-c to apply."
|
||||||
))
|
))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Guess target directory
|
|
||||||
|
|
||||||
I currently prefer to have two dired windows open in the same frame.
|
|
||||||
Instruct dired to 'Prefer next windows on the same frame' when renaming/copying files.
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(setq dired-dwim-target 'dired-dwim-target-next)
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
* Whole-line-or-region
|
* Whole-line-or-region
|
||||||
|
|
||||||
Source:
|
Source:
|
||||||
|
|
@ -852,10 +843,10 @@ Preserve indentation in SRC blocks
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "~/projects/notes")
|
(org-roam-directory "~/projects/notes")
|
||||||
(org-roam-completion-everywhere t)
|
|
||||||
:config
|
:config
|
||||||
(org-roam-setup)
|
(org-roam-setup)
|
||||||
)
|
)
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** UI
|
*** UI
|
||||||
|
|
@ -879,40 +870,6 @@ Preserve indentation in SRC blocks
|
||||||
)
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Consult
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package consult-org-roam
|
|
||||||
:ensure t
|
|
||||||
:after org-roam
|
|
||||||
:init
|
|
||||||
(require 'consult-org-roam)
|
|
||||||
;; Activate the minor mode
|
|
||||||
(consult-org-roam-mode 1)
|
|
||||||
;; :custom
|
|
||||||
;; Use `ripgrep' for searching with `consult-org-roam-search'
|
|
||||||
;; (consult-org-roam-grep-func #'consult-ripgrep)
|
|
||||||
|
|
||||||
;; Configure a custom narrow key for `consult-buffer', default is 'n', this sets it to 'r'
|
|
||||||
;; (consult-org-roam-buffer-narrow-key ?r)
|
|
||||||
|
|
||||||
;; Display org-roam buffers right after non-org-roam buffers
|
|
||||||
;; in consult-buffer (and not down at the bottom)
|
|
||||||
;; (consult-org-roam-buffer-after-buffers t)
|
|
||||||
:config
|
|
||||||
;; Eventually suppress previewing for certain functions
|
|
||||||
(consult-customize
|
|
||||||
consult-org-roam-forward-links
|
|
||||||
:preview-key "M-.")
|
|
||||||
:bind
|
|
||||||
;; Define some convenient keybindings as an addition
|
|
||||||
("C-c n f" . consult-org-roam-file-find)
|
|
||||||
("C-c n b" . consult-org-roam-backlinks)
|
|
||||||
("C-c n B" . consult-org-roam-backlinks-recursive)
|
|
||||||
("C-c n l" . consult-org-roam-forward-links)
|
|
||||||
("C-c n s" . consult-org-roam-search))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
* Elisp
|
* Elisp
|
||||||
|
|
||||||
** Add demos to describe-function
|
** Add demos to describe-function
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue