What's the line setting vim option at the bottom of a text file called?

前端 未结 3 976
时光取名叫无心
时光取名叫无心 2020-12-31 17:55

The line looks like this

.. vim: set ft=help norl ts=8 tw=78 et :

And appears at the bottom of some text files, such as vim documentation.<

相关标签:
3条回答
  • 2020-12-31 18:28

    It is called a modeline.

    See :help modeline for more information.

    Basically, it is a way to tell Vim how to render a text file.

    0 讨论(0)
  • 2020-12-31 18:38

    That is the modeline.

    :help modeline
    
    0 讨论(0)
  • 2020-12-31 18:48

    It’s called a modeline. Try:

    :help modeline
    
    0 讨论(0)
提交回复
热议问题