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

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

问题描述

我很乐意使用非常柔和的字符>>"而不是空格,如下所示:

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

Mono 开发 http://primates.ximian.com/~miguel/图片/Valabinding-classpad.png

如何在 Emacs 中实现这一点?

How can I achieve that in Emacs?

推荐答案

刚刚意识到空白模式被 空白.加载并自定义 whitespace-style 以至少包含 tabstabs-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))

还有 blank-mode 可让您实现你想要什么,它为你提供了一些很好的功能来清理你喜欢的空白: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天全站免登陆