vim note
摘要:
一个文档包含了这样一行:'a b c d e f g' 光标在b处,这时我可以键入'd/f',第一个d表示删除,/ 表示搜索,所以这个命令表示从b删除到f。xp This will delete the character under the cursor, and put itafterwards. In other words, it swaps the location of two characters.ddp Similar to xp, but swapping lines.yyp duplicate a lineuu Undo and redo l 阅读全文
posted @ 2012-04-06 14:47 Richard.FreeBSD 阅读(302) 评论(0) 推荐(0) 编辑