Browse Source

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

master
10sr 4 years ago
parent
commit
157db25259
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el View File

@@ -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…
Cancel
Save