Skip to content

Commit

Permalink
some small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bard_simpson committed Jul 2, 2024
1 parent 807c9ef commit d746d12
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
3 changes: 2 additions & 1 deletion lisp/editing/my-search.el
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
;; a bit cooler `isearch'
(leaf ctrlf
:ensure (ctrlf :repo "radian-software/ctrlf" :host github)
:bind ("C-s" . ctrlf-forward-default))
:bind (("C-s" . ctrlf-forward-default)
("C-r" . ctrlf-backward-default)))

;; a bit cooller `query-replace'
(leaf visual-regexp
Expand Down
14 changes: 10 additions & 4 deletions lisp/misc/my-consult.el
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,16 @@
("M-g I" . consult-imenu-multi)
("M-g i" . consult-imenu))

:custom ((consult-async-min-input . 1)
;; Idk what is it
(register-preview-delay . 0.5)
(register-preview-function . #'consult-register-format))
:custom `((consult-async-min-input . 1)
(consult-ripgrep-args
. ,(concat
"rg --null --line-buffered --color=never"
" --max-columns=1000 --path-separator / "
" --smart-case --no-heading --with-filename"
" --line-number --search-zip --hidden"))
;; Idk what is it
(register-preview-delay . 0.5)
(register-preview-function . #'consult-register-format))

;; i don't know what does the next line
:hook ((completion-list-mode-hook . consult-preview-at-point-mode))
Expand Down
6 changes: 6 additions & 0 deletions lisp/misc/my-recentf.el
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,11 @@
(advice-add 'consult-buffer :before #'my-recentf-load)
(run-with-idle-timer 3 nil #'my-recentf-load))


(with-eval-after-load 'server
(advice-add #'server-force-delete
:before
#'recentf-save-list))

(provide 'my-recentf)
;;; my-recentf.el ends here

0 comments on commit d746d12

Please sign in to comment.