Sfoglia il codice sorgente

Fix ivy sort

master
10sr 4 anni fa
parent
commit
1a9311e65c
Firmato da: 10sr ID Chiave GPG: C384BB17CBB19347
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. +6
    -0
      emacs.el

+ 6
- 0
emacs.el Vedi File

@@ -511,6 +511,12 @@ Otherwize hook it."
(define-key ctl-x-map (kbd "C-x") 'my-exchange-point-and-mark)
(when (fboundp 'counsel-mark-ring)
(define-key ctl-x-map "m" 'counsel-mark-ring))
(with-eval-after-load 'ivy
(defvar ivy-sort-functions-alist)
(add-to-list 'ivy-sort-functions-alist
'(counsel-mark-ring)))
(run-with-idle-timer 5 t
'push-mark)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; title and mode-line


Caricamento…
Annulla
Salva