瀏覽代碼

Do not quit ivy cmpl when there is no text left to delete

master
10sr 4 年之前
父節點
當前提交
157db25259
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el 查看文件

@@ -1310,7 +1310,7 @@ Otherwize hook it."
(lambda ()
(setq imenu-generic-expression
`(("Sections" ";;;\+\n;; \\(.*\\)\n" 1)
,@imenu-generic-expression))))
,@imenu-generic-expression))))
;; TODO: Try paraedit http://daregada.blogspot.com/2012/03/paredit.html

(with-eval-after-load 'compile
@@ -2574,6 +2574,7 @@ Any output will be written to current buffer."
(defvar ivy-minibuffer-map)
(define-key ivy-minibuffer-map (kbd "C-u")
(lambda () (interactive) (delete-region (point-at-bol) (point)))))
(set-variable 'ivy-on-del-error-function 'ignore)

(when (fboundp 'counsel-M-x)
(define-key esc-map "x" 'counsel-M-x)


Loading…
取消
儲存