摘要: 举例:将第一行到文件尾的tab转换成space,每个tab用4个space替代。 代码::set expandtab:%ret! 4如果没有给定4,则用当前的tab宽度设定替换为space。其它相关命令::set tabstop=4 设定tab宽度为4个字符:set shiftwidth=4 设定自... 阅读全文
posted @ 2012-12-29 16:12 鲸息 阅读(385) 评论(0) 推荐(0)
摘要: inotify + rsync实现linux文件实时同步作者:ZIY出处:http://www.ziy.cc/topic/24110-inotify-rsync%E5%AE%9E%E7%8E%B0linux%E6%96%87%E4%BB%B6%E5%AE%9E%E6%97%B6%E5%90%8C%E... 阅读全文
posted @ 2012-12-29 15:57 鲸息 阅读(204) 评论(0) 推荐(0)