Emacs: Code folding


Call vimish-fold-toggle when fold-dwim-org/toggle is called.

;; Toggle vimish-fold with Tab key.
(defadvice fold-dwim-org/toggle (after my-fold-dwim-org/toggle (&optional key lst-point) activate)
  "Call vimish-fold-toggle after fold-dwim-org/toggle"
  (vimish-fold-toggle)
  )

(Source)

See Also:

  • fold-dwim-org
  • vimish-fold