显示具有不同字符的选项卡(Emacs) [英] Show tabs with a different character (Emacs)

查看:94
本文介绍了显示具有不同字符的选项卡(Emacs)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很高兴有非常柔和的字符>>,而不是空格,例如:

I'd be happy to have very soft character ">>" instead of white-space, like this:

如何在Emacs中实现?

How can I achieve that in Emacs?

推荐答案

编辑:意识到空白模式已被空白。加载此并自定义 whitespace-style 至少包含 tabs tabs-mark 。我目前有:

Just realized that blank-mode is superseded by whitespace. Load this and customize whitespace-style to at least contain tabs and tabs-mark. I currently have:

(setq whitespace-style '(trailing tabs newline tab-mark newline-mark))

还有空白模式,它允许你自定义你想要的,它给你一些漂亮的函数来清除空白符合你的喜好:
http://www.emacswiki.org/emacs/BlankMode

There is also blank-mode which allows you to achive what you want and it gives you some nice functions to cleanup the whitespace to your likings: http://www.emacswiki.org/emacs/BlankMode

这篇关于显示具有不同字符的选项卡(Emacs)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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