在编辑器中查看换行符和回车符 [英] See line breaks and carriage returns in editor

查看:758
本文介绍了在编辑器中查看换行符和回车符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道Linux上的文本编辑器,使我可以看到换行符和回车符吗? Vim是否支持此功能?

Does anyone know of a text editor on Linux that allows me to see line breaks and carriage returns? Does Vim support this feature?

推荐答案

:set list将显示空格.行尾显示为"$",回车符通常显示为"^M".

:set list in Vim will show whitespace. End of lines show as '$' and carriage returns usually show as '^M'.

这篇关于在编辑器中查看换行符和回车符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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