Emacs相当于Vim的foldmethod =缩进 [英] Emacs equivalent of Vim's foldmethod = indent

查看:145
本文介绍了Emacs相当于Vim的foldmethod =缩进的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题: Emacs是否具有Vim的规范等价物折叠与Foldmethod =缩进

Question: Does Emacs have a canonical equivalent of Vim's Folding with Foldmethod=indent?

我特别感兴趣的东西可以与任何Emacs主要模式和任何文件一起工作。 Emacs搜索没有得出确定的答案。

I am particularly interested in something that can work alongside any Emacs major mode and any file. The Emacs searches have not turned up a definitive answer.

推荐答案

似乎可以,虽然我不用折叠自己,所以我没有尝试过。毫不奇怪,Python人士都是关于这个功能的。请参阅以下内容:

Seems like it can, though I don't use folding myself, so I've not tried it. Not surprisingly, the Python folks are all about this feature. See the following:

  • http://mail.python.org/pipermail/tutor/2002-September/017482.html
  • http://www.nabble.com/Code-folder-with-Emacs-td16189193.html
  • http://groups.google.ca/group/comp.lang.python/msg/956f1c2d37f93995

这篇关于Emacs相当于Vim的foldmethod =缩进的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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