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

夙愿已清 提交于 2019-12-30 03:19:09

问题


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.

I just want to know where I can look this topic up in the vim help to read about it.


回答1:


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.




回答2:


It’s called a modeline. Try:

:help modeline



回答3:


That is the modeline.

:help modeline


来源:https://stackoverflow.com/questions/4818741/whats-the-line-setting-vim-option-at-the-bottom-of-a-text-file-called

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!