Config: add org-ql config, fix coding system of ripgrep
This commit is contained in:
@@ -98,10 +98,12 @@
|
||||
(default-directory "~/"))
|
||||
(consult-fd)))
|
||||
|
||||
(if *is-windows*
|
||||
(progn
|
||||
(when *is-windows*
|
||||
(setq consult-locate-args (encode-coding-string "es.exe -i -p -r" 'gbk))
|
||||
(add-to-list 'process-coding-system-alist '("es" gbk . gbk))))
|
||||
(setq consult-ripgrep-args (encode-coding-string
|
||||
"rg --null --line-buffered --color=never --max-columns=1000 --path-separator / --smart-case --no-heading --line-number"
|
||||
'gbk))
|
||||
(add-to-list 'process-coding-system-alist '("es" gbk . gbk)))
|
||||
|
||||
(when *is-mac*
|
||||
(setopt consult-locate-args "mdfind -name")))
|
||||
|
||||
Reference in New Issue
Block a user