Vim note
来源:互联网 发布:光环国际 大数据 编辑:程序博客网 时间:2024/05/16 12:35
1. :g/pattern/s/old/new
The first g tells the command to operate on all lines of a file. pattern identifies the lines
on which a substitution is to take place. On those lines containing pattern, ex is to
substitute (s) for old the characters
old could be regular expression
2. :%s/old/new/g
% indentifies all lines
s substitudes command
"old" could be regular expression
0 0
- Vim Note
- Vim note
- Vim note
- vim note (1)
- vim note (2)
- vim note(3)
- vim note(5)
- vim note(4)
- Vim plugin configuration note
- Note of Vim
- note
- note
- NOTE
- note
- Note
- note
- note
- Note
- GOF23设计模式之桥接模式的实现
- 社説 20150406 食料自給率 農業政策の目標として適切か
- 【LeetCode】Binary Tree Right Side View 解题报告
- 社説 20150406 少子化対策大綱 男性の育児参加を促進しよう
- Java Map遍历方式的选——TreeMap、HashMap的key、value遍历
- Vim note
- C++标准库vector
- SharePoint Server 2013 中配置“我的网站”
- linux下mysql 最新版安装图解教程
- java swing开发打飞机的小游戏源代码下载
- Path绘制文本canvas.drawTextOnPath
- C语言 判断回文字符串
- MQTT协议笔记之订阅
- Android File存储