`
sillycat
  • 浏览: 2566826 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Some VI Tips

 
阅读更多
Some VI Tips
Today, I need to copy some large line from one properties file to another.
I know there is copy one line command shift + y and paste command shift + p.

But how do I use that in 2 different files?

Follow the documents from google,
>vi -o /path/to/file1 /path/to/file2
control + w to shift the different file and use

shift + y to copy and shift + p to paste.

That is it.

references:
http://stackoverflow.com/questions/4620672/copy-and-paste-content-from-one-file-to-another-file-in-vi


分享到:
评论

相关推荐

    Incident Response and Computer Forensics 2nd ed.7z

    publications and books that offer some structure and guidance to incident response, but they are often scattered, outdated, or not quite applicable to our current challenges. WHO SHOULD READ THIS BOOK...

    Django 1.1 Testing and Debugging.pdf

    Some pros and cons of doctests so far 40 Additional doctest caveats 44 Beware of environmental dependence 44 Beware of database dependence 47 Table of Contents [ ii ] Beware of test ...

    Exchange Server 2010 Unleashed.pdf

    .Part VI: Exchange Server 2010 Administration and Management—In this part, five chapters focus on the administration and management of an Exchange Server 2010 environment. The administration and ...

    新视野英语读写教程第二版第一册练习答案

    - **Example 6**: Offers tips on how to effectively study English, including the importance of consistent practice and active engagement. 通过这些阅读理解练习,学生可以提高自己的阅读速度和理解能力,...

    Perl Debugged.pdf

    3.7 Tips for Reducing Complexity....................................................................................26 Chapter 4. Perl Pitfalls..........................................

Global site tag (gtag.js) - Google Analytics