加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

排序 – 如何让emacs列出像ls这样的建议(沿着列)

发布时间:2020-12-14 00:55:22 所属栏目:Linux 来源:网络整理
导读:如何让emacs按列而不是行列出建议? 简而言之,emacs给了我这个: In this buffer,type RET to select the completion near point.Possible completions are:abc1 abc2 abc3abc4 abc5 abc6abc7 abc8 abc9bc1 bc2 bc3 但我希望这样,所以我可以快速扫描一列: I
如何让emacs按列而不是行列出建议?

简而言之,emacs给了我这个:

In this buffer,type RET to select the completion near point.

Possible completions are:
abc1                  abc2                  abc3
abc4                  abc5                  abc6
abc7                  abc8                  abc9
bc1                   bc2                   bc3

但我希望这样,所以我可以快速扫描一列:

In this buffer,type RET to select the completion near point.

Possible completions are:
abc1                  abc5                  abc9
abc2                  abc6                  bc1
abc3                  abc7                  bc2
abc4                  abc8                  bc3

解决方法

将以下内容添加到.emacs应该可以解决问题.

(setq completions-format 'vertical)

注意:此选项是在Emacs 23.2中引入的.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读