How vim copies and pastes the entire content into the external

Source: Internet
Author: User

Ubuntu default installation of Vim is not supported by the system cut, paste version, you need to perform the following installation:
sudo apt-get install Vim-gnome

Note to allow VIM to support the system Pasteboard, first perform the sudo apt-get install Vim-gui-common installation to support system Clipboard vim.
--------------------------------------------------------------------------------------------------------------- ----------------------------------
PS: Whether the above two steps are to be confirmed (own computer virtual machine test: As long as the first command of the Vim-gnome version of Vim can be installed)

1. Cursor at the first character, press V to enter the visual mode
2.G, the cursor jumps to the end, automatically select all the contents
3. Press "+y, copy to system Clipboard
4. External Ctrl + V to paste it over

How vim copies and pastes the entire content into the external

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.