Skip to content

Commit

Permalink
Use ocaml-utils-dune-watch
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasdrp committed Mar 29, 2024
1 parent ad3667f commit a0aece6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
15 changes: 7 additions & 8 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -2266,14 +2266,15 @@ with a prefix ARG."
;; For some commands and buffer sources it is useful to configure the
;; :preview-key on a per-command basis using the `consult-customize' macro.
(consult-customize
consult-theme
:preview-key '(:debounce 0.2 any)
consult-theme :preview-key '(:debounce 0.2 any)

consult-bookmark consult-recent-file
consult--source-project-recent-file
consult--source-recent-file consult-buffer
consult-ripgrep consult-git-grep consult-grep
mdrp/consult-git-grep-always-prompt-dir
mdrp/consult-ripgrep-always-prompt-dir
consult-bookmark consult-recent-file consult-xref
consult--source-bookmark consult--source-recent-file
consult--source-project-recent-file
consult-xref consult--source-bookmark
:preview-key '(:debounce 0.5 "M-."))

;; Optionally configure the narrowing key.
Expand Down Expand Up @@ -3001,7 +3002,6 @@ with a prefix ARG."
(agenda . 5)))
(setq dashboard-set-navigator t)
(setq dashboard-set-footer nil)
(setq dashboard-projects-switch-function 'counsel-projectile-switch-project-by-name)
(setq dashboard-week-agenda t)
:config
(dashboard-setup-startup-hook)
Expand Down Expand Up @@ -3598,8 +3598,7 @@ with a prefix ARG."
"C-c C-t" nil
"C-c C-w" nil
"C-c C-l" nil
"C-c w" 'mdrp/dune-watch
)
"C-c o w" 'ocaml-utils-dune-watch)
:config
(defvar-local mdrp/ocaml-templates-local mdrp/ocaml-templates "OCaml Templates")
(add-to-list 'tempel-template-sources 'mdrp/ocaml-templates)
Expand Down
15 changes: 7 additions & 8 deletions init.org
Original file line number Diff line number Diff line change
Expand Up @@ -3651,14 +3651,15 @@ TODO: Test all the possible minibuffers and customize them as I'd like them to b
;; For some commands and buffer sources it is useful to configure the
;; :preview-key on a per-command basis using the `consult-customize' macro.
(consult-customize
consult-theme
:preview-key '(:debounce 0.2 any)
consult-theme :preview-key '(:debounce 0.2 any)

consult-bookmark consult-recent-file
consult--source-project-recent-file
consult--source-recent-file consult-buffer
consult-ripgrep consult-git-grep consult-grep
mdrp/consult-git-grep-always-prompt-dir
mdrp/consult-ripgrep-always-prompt-dir
consult-bookmark consult-recent-file consult-xref
consult--source-bookmark consult--source-recent-file
consult--source-project-recent-file
consult-xref consult--source-bookmark
:preview-key '(:debounce 0.5 "M-."))

;; Optionally configure the narrowing key.
Expand Down Expand Up @@ -4622,7 +4623,6 @@ Will pulse when the focus changes to show where the cursor is.
(agenda . 5)))
(setq dashboard-set-navigator t)
(setq dashboard-set-footer nil)
(setq dashboard-projects-switch-function 'counsel-projectile-switch-project-by-name)
(setq dashboard-week-agenda t)
:config
(dashboard-setup-startup-hook)
Expand Down Expand Up @@ -5487,8 +5487,7 @@ If you want to use it, after downloading ~auctex-latexmk~ replace ~(require tex-
"C-c C-t" nil
"C-c C-w" nil
"C-c C-l" nil
"C-c w" 'mdrp/dune-watch
)
"C-c o w" 'ocaml-utils-dune-watch)
:config
(defvar-local mdrp/ocaml-templates-local mdrp/ocaml-templates "OCaml Templates")
(add-to-list 'tempel-template-sources 'mdrp/ocaml-templates)
Expand Down

0 comments on commit a0aece6

Please sign in to comment.