怎么在vim里设置一行有80个字符呢
时间:2011-10-28
来源:互联网
怎么在vim里设置一行有80个字符呢,谢谢
作者: dedlous 发布时间: 2011-10-28
引用楼主 dedlous 的回复:
怎么在vim里设置一行有80个字符呢,谢谢
怎么在vim里设置一行有80个字符呢,谢谢
:set tw=80
更多信息请查看:help tw
Python code
'textwidth' 'tw' number (default 0) local to buffer {not in Vi} Maximum width of text that is being inserted. A longer line will be broken after white space to get this width. A zero value disables this. 'textwidth' is set to 0 when the 'paste' option is set. When 'textwidth' is zero, 'wrapmargin' may be used. See also 'formatoptions' and |ins-textwidth|. When 'formatexpr' is set it will be used to break the line. NOTE: This option is set to 0 when 'compatible' is set.
作者: linwhwylb 发布时间: 2011-10-28
引用 1 楼 linwhwylb 的回复:
引用楼主 dedlous 的回复:
怎么在vim里设置一行有80个字符呢,谢谢
:set tw=80
更多信息请查看:help tw
Python code
'textwidth' 'tw' number (default 0)
local to buffer
……
我在~下新建了一个.vimrc set前要加:么? 引用楼主 dedlous 的回复:
怎么在vim里设置一行有80个字符呢,谢谢
:set tw=80
更多信息请查看:help tw
Python code
'textwidth' 'tw' number (default 0)
local to buffer
……
我只加了一句set tw=80可以么
作者: dedlous 发布时间: 2011-10-28
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28