タグ

Foldとelispに関するkiyo_hikoのブックマーク (1)

  • EmacsWiki: Folding Mode

    DescriptionFolding mode is a MinorMode that uses a special string to find the regions to hide: {{{ and }}}. The variable fold-mode-marks-alist defines the strings for each MajorMode separately. From the folding menu you can enter, show, hide, etc. regions. With the Mouse-3 (the rightmost mouse button) when there is no other context menu defined a right mouse click will toggle the visibility of fol

    kiyo_hiko
    kiyo_hiko 2013/05/27
    説明読んでinit.elに「(load "folding" 'nomessage 'noerror) (folding-mode-add-find-file-hook) (folding-add-to-marks-list 'ruby-mode "#{{{" "#}}}" nil t) (defalias 'fol 'folding-mode)」 で試してみた。切り替えは「C-c @ C-q」特別なトークンを置くのはちょっと微妙
  • 1