如何使用vim自定义缩进文件?
发布时间:2020-12-15 17:03:29 所属栏目:安全 来源:网络整理
导读:我最近阅读了与Vim中的缩进源文件相关的 this article.但是,我希望能够自定义缩进其中一些.当我按=时,有没有办法指定运行哪个二进制文件? 从帮助: ={motion} Filter {motion} lines through the external program given with the 'equalprg' option. When
我最近阅读了与Vim中的缩进源文件相关的
this article.但是,我希望能够自定义缩进其中一些.当我按=时,有没有办法指定运行哪个二进制文件?
从帮助:
={motion} Filter {motion} lines through the external program given with the 'equalprg' option. When the 'equalprg' option is empty (this is the default),use the internal formatting function |C-indenting|. But when 'indentexpr' is not empty,it will be used instead |indent-expression|. 看起来像设置equalprg选项是你想要的. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 【API设计风格—RESTful】:番外篇:跨域问题(四)
- angularjs – 角度$scope $apply vs $timeout作为安全$appl
- cxf 开发webservice 需要的jar
- angular官网教程第7个HTTP,找不到angular-in-memory-web-a
- 进程打开文件进行写入时,使用vim打开文件进行写入导致fd文件
- node.js – 为什么在Docker Conainter中没有NPM
- 数据绑定 – 使用ng-model的Angular 2双向绑定不工作
- Angular开发实践(五):深入解析变化监测
- Unix/Linux shell脚本中 “set -e” 的作用
- Angular2:TypeError:无法读取未定义的属性’Symbol(Symbo