Config: install denote and some extra packages, add plocate support on linux, optimize keybindings

This commit is contained in:
2026-05-09 01:00:46 +08:00
parent 1808941dcb
commit f419304684
9 changed files with 88 additions and 34 deletions

View File

@@ -66,6 +66,13 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
nil 0 nil
(file-name-directory (expand-file-name file)))))
(defun consult-fd-global ()
"Search for all files use fd"
(interactive)
(let ((consult-fd-args "fd -H -I -i -c never --full-path")
(default-directory "~/"))
(consult-fd)))
(defun my-open-current-directory ()
"Open current directory in default file explorer."
(interactive)