Skip to content
Clipboard support for Vim without +clipboard
Vim script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload Improve assigning defaults Dec 10, 2019
doc
plugin Fix for :put! Jan 19, 2020
README.md

README.md

fauxClip

fauxClip is a Vim plugin to provide a pseudo clipboard support for versions of Vim compiled without +clipboard


fauxClip uses xclip as default copy and paste command, but you can override either of these commands if you have more specific needs.

(The following examples utilize Linux's defaults)

  • Copy:
let g:fauxClip_copy_cmd         = 'xclip -f -i -selection clipboard'
let g:fauxClip_copy_primary_cmd = 'xclip -f -i'
  • Paste:
let g:fauxClip_paste_cmd         = 'xclip -o -selection clipboard 2> /dev/null'
let g:fauxClip_paste_primary_cmd = 'xclip -o 2> /dev/null'
You can’t perform that action at this time.