LoginSignup
0
0

More than 5 years have passed since last update.

[VIM] Share Mac Clipboard with Vim

Posted at

Confirm Vim Version

First confirm the version of your vim is support +clipboard with

vim --version

If not install the recent version of vim.

brew install vim

Setup .vimrc

Add this line to your ~/.vimrc.

set clipboard=unnamed

Try

In the vim, with yank command y, the selection will be copied to the mac clipboard.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0