Sfoglia il codice sorgente

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

master
10sr 4 anni fa
parent
commit
157db25259
Firmato da: 10sr ID Chiave GPG: 7BEC428194130EB2
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el Vedi 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)


Caricamento…
Annulla
Salva