瀏覽代碼

Fix ivy keybind

master
10sr 5 年之前
父節點
當前提交
23698ce18f
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 4 行新增3 行删除
  1. +4
    -3
      emacs.el

+ 4
- 3
emacs.el 查看文件

@@ -2369,9 +2369,10 @@ Any output will be written to current buffer."
""
s))))))

(defvar ivy-minibuffer-map)
(define-key ivy-minibuffer-map (kbd "C-u")
(lambda () (interactive) (delete-region (point-at-bol) (point))))
(with-eval-after-load 'ivy
(defvar ivy-minibuffer-map)
(define-key ivy-minibuffer-map (kbd "C-u")
(lambda () (interactive) (delete-region (point-at-bol) (point)))))
(define-key esc-map "x" 'counsel-M-x)
;; (counsel-mode 1)
;; counsel-fzf executes fzf -f QUERY for each input


Loading…
取消
儲存