@kyanny's blog

My thoughts, my life. Views/opinions are my own.

Doom Emacs: (YAML を) folding する

  • C-c C-f C-f (M-x +fold/toggle)
  • C-c C-f C-a C-f(M-x +fold/close-all)
  • C-c C-f C-a C-u (M-x +fold/open-all)

使いそうなのはこの辺り。キーバインドがちょっとかったるい。unfold すると内側の folding も解除されるなど、挙動はあまり賢くなく、最低限という感じ。

editor/fold モジュールがデフォルトで有効なので、すぐ使える。

Doom Emacs: How to fold code blocks – Emacs TIL – Today I learned in Emacs