[ORIGINAL CREATION] tact and skill of VIM
来源:互联网 发布:如何修改手机mac地址 编辑:程序博客网 时间:2024/05/22 15:37
####
: read ! shell_command // VIM read in the output of shell_command
####
:1,$ ! shell_command // output the whole text as input to shell_command and save the output of this shell_command to replace the original test
:0 ! date // create a time stamp to the test
####
:g//S/,/^/s*$/join // join each paragraph to a single line.
####
matches equivalent ~
/d digit [0−9]
/D non−digit [^0−9]
/x hex digit [0−9a−fA−F]
/X non−hex digit [^0−9a−fA−F]
/s white space [ ]
/S non−white characters [^ ]
/l lowercase alpha [a−z]
/L non−lowercase alpha [^a−z]
/u uppercase alpha [A−Z]
/U non−uppercase alpha [^A−Z]
: read ! shell_command // VIM read in the output of shell_command
####
:1,$ ! shell_command // output the whole text as input to shell_command and save the output of this shell_command to replace the original test
:0 ! date // create a time stamp to the test
####
:g//S/,/^/s*$/join // join each paragraph to a single line.
####
matches equivalent ~
/d digit [0−9]
/D non−digit [^0−9]
/x hex digit [0−9a−fA−F]
/X non−hex digit [^0−9a−fA−F]
/s white space [ ]
/S non−white characters [^ ]
/l lowercase alpha [a−z]
/L non−lowercase alpha [^a−z]
/u uppercase alpha [A−Z]
/U non−uppercase alpha [^A−Z]
- [ORIGINAL CREATION] tact and skill of VIM
- [ORIGINAL CREATION] tact and skill of sed
- [ORIGINAL CREATION] undown tact and skill in C programming
- Skill of vim
- [ORIGINAL CREATION] learning make
- [ORIGINAL CREATION] BASH tips
- [ORIGINAL CREATION] learning awk
- [ORIGINAL CREATION] GCC
- Vim - skill
- INFO: Creation and Destruction of File Objects
- [ORIGINAL CREATION] unkown C++ skills
- soft skill and hard skill
- Creation of an Axis Web Service and a gSOAP client
- Effect of Switchovers, Failovers, and Control File Creation on Backups
- ECLIPSE SKILL OF OPERATION
- Some skill of disk
- 【skill】Use snippets in vim
- 【skill】vim常用快捷键整理
- 如何保护.net 开发的源程序
- 投资理财:炒股投机前必读的3个故事
- 雅虎推新手机应用oneConnect 社交功能是亮点
- 一周年大事件
- OpenJPA中的@GeneratedValue不允许赋值
- [ORIGINAL CREATION] tact and skill of VIM
- 咏刀削面
- Jboss是什么?
- EditPlus正则表达式替换字符串详解
- Google推出新版Android开发包 地址可转换坐标
- sql优化(一)--关于exists和in的比较
- 使用一个JSP中的connection 缓存
- DataGridView某一列只读
- zend studio for eclipse 6.0 注册码