For MacVim and Windows Gvim, simply add the following to your ~/.vimrc
:
set clipboard=unnamed
Now all operations such as yy
, D
, and P
work with the clipboard. No need to prefix them with "*
or "+
.
More Related Contents:
- How to run mvim (MacVim) from Terminal?
- Pasting code into terminal window into vim on Mac OS X
- OS X Terminal UTF-8 issues
- Scrolling inside Vim in Mac’s Terminal
- sed not giving me correct substitute operation for newline with Mac – differences between GNU sed and BSD / OSX sed [duplicate]
- Mongod complains that there is no /data/db folder
- How do I create a nice-looking DMG for Mac OS X using command-line tools?
- Setting PATH environment variable in OSX permanently
- `pg_tblspc` missing after installation of latest version of OS X (Yosemite or El Capitan)
- Where does MAMP keep its php.ini?
- List of macOS text editors and code editors [closed]
- How to set the runtime path (-rpath) of an executable with gcc under Mac OSX?
- “restricted” folder/files in OS X El Capitan
- How to allow keyboard focus of links in Firefox?
- Mac OS: /usr/bin/env: bad interpreter: Operation not permitted
- Connect VS code with TFS on mac
- Run / Open VSCode from Mac Terminal
- Where to find extensions installed folder for Google Chrome on Mac?
- npm command – sudo or not?
- Using Homebrew with alternate GCC
- How to install sshpass on Mac?
- How do I set a task to run every so often?
- How to fix curl: (60) SSL certificate: Invalid certificate chain
- How to create a single shared framework between iOS and OS X
- How to write assembly language hello world program for 64 bit Mac OS X using printf?
- Change OSX keyboard layout(“input source”) programmatically via terminal or AppleScript?
- How to customize disclosure cell in view-based NSOutlineView
- Is there a way of getting a Mac’s icon given its model number?
- Getting alias path of file in swift
- How to create virtual hosts in MAMP?