PracticeDev/study_clang/zmq/zeromq-curve/TEST

12 lines
554 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1. 移动光标到本行。
2. 接着按 v 键,将光标移动至下面第五个条目上。您会注意到之间的文本被高亮了。
3. 然后按 : 字符。您将看到屏幕底部会出现 :'<,'> 。
4. 现在请输入 w TEST其中 TEST 是一个未被使用的文件名。确认您看到了
:'<,'>w TEST 之后按 <回车> 键。
5. 这时 Vim 会把选中的行写入到以 TEST 命名的文件中去。使用 :!dir 或 :!ls
确认文件被正确保存。这次先别删除它!我们在下一讲中会用到它。