I tried many different folding plugins for Emacs and ended up using folding-mode
as I used Vim's folding marks and so my files contain a large number of folding marks. I am currently in the process of switching from Vim to Emacs (evil-mode
).
However, I miss that my file is fully folded when I open it. Does anyone know how to force folding-mode
to fold everything when opening a file?
My init file contains:
;; folding-mode
(load "folding" 'nomessage 'noerror)
(folding-add-to-marks-list 'ess-mode "/*{{{*/" "/*}}}*/" nil t)
(folding-mode-add-find-file-hook)
(add-hook 'ess-mode-hook 'folding-mode)
(evil-leader/set-key "ff" 'folding-toggle-show-hide)