gvim 高速编辑例子
gvim 快速编辑例子gvim 快速编辑例子1?准备工作首先, 我们打开 VIM, 输入一段文本, 用于今天的演示:*This
gvim 快速编辑例子
gvim 快速编辑例子
1?准备工作
首先, 我们打开 VIM, 输入一段文本, 用于今天的演示:
*This is a test!
*This is another test!
*This is a test!
*This is another test!
*This is a test!
*This is another test!
*This is a test!
*This is another test!
*This is a test!
*This is another test!
*This is a test!
*This is another test!
*This is a test!
解说: 点命令的作用是, 重复最近一次所做的编辑操作。 由于在第一行里做的操作是行尾添加, 因此在第二行重复这个动作的时候, 也会在行尾添加同样的字符。 点命令功能不如宏强大, 但它使用起来比宏简便, 因此也有着广泛的用途。