文本文件底部的行设置 vim 选项是什么? [英] What's the line setting vim option at the bottom of a text file called?

查看:16
本文介绍了文本文件底部的行设置 vim 选项是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这条线看起来像这样

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

并且出现在一些文本文件的底部,比如vim文档.

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

我只是想知道我可以在 vim 帮助中的何处查找此主题以了解它.

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

推荐答案

它被称为模式行.

有关详细信息,请参阅 :help modeline.

See :help modeline for more information.

基本上,它是一种告诉 Vim 如何渲染文本文件的方法.

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

这篇关于文本文件底部的行设置 vim 选项是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆