V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
tomyiyun

share一个 gedit换行符转换插件

  •  
  •   tomyiyun · Jul 24, 2011 · 3872 views
    This topic created in 5395 days ago, the information mentioned may be changed or developed.
    老话题了,Win下和*nix下换行符一个是\r\n 一个是\n,也就是说linux下的纯文本文件放到Win下换行是乱的。

    这个插件安装好之后会在gedit窗口下面显示当前的换行风格:"LF", "CR", or "CRLF",想转换的话,单击该区域后选择相应的风格就可以了。

    帮GF整理Win下的Hosts列表时用到,然后Google出来的,我觉得这个还是挺实用的~~

    地址:http://code.google.com/p/gedit-line-ending-style-plugin/ 按照wiki里面的说明编译安装,在gedit下启用即可。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2702 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 13:18 · PVG 21:18 · LAX 06:18 · JFK 09:18
    ♥ Do have faith in what you're doing.