在UBUNTU的Gedit中,如何显示空格和换行符

原文链接:http://blog.sina.com.cn/s/blog_7a9c930d01017i2h.html

查了好多资料,最后发现一个命令就可以搞定~~
[安装]
输入下面的命令:
$sudo apt-get install gedit-plugins
会安装下面的插件:
* Show/Hide Tabbar: Add a menu entry to show/hide thetabbar.
* Bracket Completion: Automatically adds closingbrackets.
* Draw Spaces: Draw Spaces and Tabs
* Embedded Terminal: Embed a terminal in the bottompane.
* Color Picker: Pick a color from a dialog and insert itshexadecimal representation.
* Session Saver: Save and restore your workingsessions
* Join/Split Lines: Join several lines or split longones
* Smart Spaces: Forget you’re not usingtabulations.
* Character Map: Insert special characters just by clicking onthem.
* Code comment: Comment out or uncomment a selected block ofcode.
插件(Draw Spaces)就是我们需要的。
[配置]
打开Gedit,点击“edit”->"preferences"->"plugins"。
找到“Draw Spaces”选项,选中,并点击“configure plugin”,在弹出的窗口中选择“Draw newlines”。
OK!


  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值