In Mac OSX, VIM can use the system clipboard.

Source: Internet
Author: User

Recently, we have been tossing over Vim exceptions on Mac, and many small problems are hard to solve. In order to replace the terminal with iterm with 256 colors, but for a better visor, we had to continue using the terminal in the band. So I changed the color scheme to ir_blank, but the color scheme of the author is not very easy to use. After disdain, Google finally found out how to use the cut version in the terminal.

"On osxvmap <c-c> Y: Call System (" pbcopy ", getreg ("/"") <CR> NMAP <c-V>: call setreg ("/" ", system (" pbpaste ") <CR> P
Address: http://vim.wikia.com/wiki/In_line_copy_and_paste_to_system_clipboard
The more disgusting problem behind it is the shape of the cursor under insert/normal. This problem is well solved in Ubuntu, and I don't know what scripts can be used to modify the cursor in the terminal under Mac OSX.
. The principle is that you don't know where to find the information. I will continue to make a long journey.
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.