Bladeren bron

Update visible-mark config

master
10sr 4 jaren geleden
bovenliggende
commit
46b468c819
Getekend door: 10sr GPG sleutel-ID: C384BB17CBB19347
1 gewijzigde bestanden met toevoegingen van 10 en 2 verwijderingen
  1. +10
    -2
      emacs.el

+ 10
- 2
emacs.el Bestand weergeven

@@ -529,7 +529,10 @@ Otherwize hook it."
(add-to-list 'ivy-sort-functions-alist
'(counsel-mark-ring)))
(run-with-idle-timer 10 t
'push-mark)
(lambda ()
(push-mark)
(when (fboundp 'visible-mark-move-overlays)
(visible-mark-move-overlays))))

(when (fboundp 'back-button-mode)
(back-button-mode 1))
@@ -540,7 +543,7 @@ Otherwize hook it."

(when (fboundp 'global-visible-mark-mode)
(set-variable 'visible-mark-max 2)
(set-variable 'visible-mark-faces '(visible-mark-face1 visible-mark-face2))
;; (set-variable 'visible-mark-faces '(visible-mark-face1 visible-mark-face2))

;; http://emacs.rubikitch.com/visible-mark/
;; transient-mark-modeでC-SPC C-SPC、あるいはC-SPC C-gすると消えるバグ修正
@@ -555,6 +558,11 @@ THEM are function and its args."

(global-visible-mark-mode 1))

;; visible-mark-mode
;; visible-mark-overlays
;; mark-ring
;; (equal mark-ring (cl-copy-list mark-ring))

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



Laden…
Annuleren
Opslaan