Basically something like this:


<special incantation of vim>
set tabstop=2
set foldmethod=marker

I know that Emacs has the same feature, which is how I found it the last time, but no joy this time around...

(Chose the formatting tag because I had to choose one.)

1 Answer 1


The name you're looking for is modeline. See the doc for the syntax :h modeline and :h 'modeline'

  • 1
    Yes! The feeling when the empty void, that has been gnawing at the back of the head, finally implodes. Thanks!
    – toraritte
    Jun 29, 2021 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.