浏览代码

Add some ivy configs

master
10sr 4 年前
父节点
当前提交
66216deaac
签署人:: 10sr GPG 密钥 ID: C384BB17CBB19347
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      emacs.el

+ 4
- 0
emacs.el 查看文件

@@ -2594,6 +2594,8 @@ Any output will be written to current buffer."
(concat "| " str))
cands
"\n")))))
(when (fboundp 'ivy-rich-mode)
(ivy-rich-mode 1))

(defun my--ivy-regex-fuzzy-ignore-order (str)
"Re-build regex from STR for ignore-order fuzzy match."
@@ -2629,6 +2631,8 @@ Any output will be written to current buffer."
;; (setenv "FZF_DEFAULT_COMMAND" nil)
;; (counsel-fzf)))))
)
(when (fboundp 'counsel-switch-buffer)
(define-key ctl-x-map (kbd "C-b") 'counsel-switch-buffer))

(when (and (fboundp 'ivy-read)
(locate-library "counsel"))


正在加载...
取消
保存