sponsor Vim development Vim logo Vim Book Ad

fakeclip : pseudo clipboard register for non-GUI version of Vim

 script karma  Rating 1863/479, Downloaded by 9760  Comments, bugs, improvements  Vim wiki

created by
Kana Natsuno
 
script type
utility
 
description
*fakeclip* is a Vim plugin to provide a pseudo |clipboard| register for
several versions of Vim without |+clipboard| support, especially for non-GUI
version of Vim on the following platforms:

- Cygwin
- Mac OS X
- X Window System (by xclip <http://sourceforge.net/projects/xclip/>)


fakeclip
also provides a pseudo register to access a "paste buffer" if one of
the following applications is available:

- GNU screen
- tmux


FAQ: If you can't copy/paste multibyte characters with the clipboard
     on Mac OS X, see |fakeclip-multibyte-on-mac|.

Note for Mac OS users: Though Vim supports clipboard for the console version
since version 7.3, fakeclip is still useful to access a "paste buffer".


Requirements:
- Vim 7.0 or later

Latest version:
http://github.com/kana/vim-fakeclip

Document
in HTML format:
http://kana.github.com/config/vim/fakeclip.html
 
install details
...
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-fakeclip-0.2.10.zip 0.2.10 2012-01-21 7.0 Kana Natsuno - Improve the detection of terminal multiplexers.  In other words, (a) use a more suitable one according to the current environment; (b) support using the pastebuffer from Vim not in a tmux session.  See also |g:fakeclip_terminal_multiplexer_type| for the details.  (Thanks m4i for reporting the problem via https://github.com/kana/vim-fakeclip/pull/5)
vim-fakeclip-0.2.9.zip 0.2.9 2011-10-07 7.0 Kana Natsuno - Add support for |d|, |dd| and |D| operation for the clipboard and the pastebuffer.  (Thanks for Suan-Aik Yeo)
vim-fakeclip-0.2.8.zip 0.2.8 2010-08-31 7.0 Kana Natsuno - |:FakeclipDefaultKeyMappings|: Fix to regard a given bang.
vim-fakeclip-0.2.7.zip 0.2.7 2010-04-02 7.0 Kana Natsuno - Fix to read/write the paste buffer of GNU screen outside a session.  Old versions allow to read/write the paste buffer only if Vim is running in a session of GNU screen.
vim-fakeclip-0.2.6.zip 0.2.6 2009-11-16 7.0 Kana Natsuno - Fix improper error message on putting to paste buffer.  (Thanks to @thinca for reporting)
- Fix a bug that there is a possibility to fail to read the paste buffer of GNU screen if it is emptied by "register . ''".  (Thanks to @thinca for reporting)
- Revise for race condition problem to read the paste buffer of GNU screen, though it's not perfect yet.
vim-fakeclip-0.2.5.zip 0.2.5 2009-11-11 7.0 Kana Natsuno - Revise the way to detect whether GNU screen is available or not.
- Fix a bug to yank to string with newline character into paste buffer register.
- Support X Window System by xclip.  (Thanks for @thinca)
- Support tmux.  (Thanks for @thinca)
vim-fakeclip-0.2.4.zip 0.2.4 2009-06-13 7.0 Kana Natsuno - Revise on platforms where |+clipboard| is available:
  - Define all stuffs such as |fakeclip-key-mappings| on all platforms.  Without this, the pseudo register for GNU screen's paste buffer is not available if |+clipboard| is available.
  - |:FakeclipDefaultKeyMappings|: Don't define the default key mappings for clipboard to avoid confusion with the built-in key mappings.  For example, "*y and "+y are not mapped to |<Plug>(fakeclip-y)|.
vim-fakeclip-0.2.3.zip 0.2.3 2009-05-05 7.0 Kana Natsuno - Revise the documents on Mac OS X specific problems.  See |fakeclip-multibyte-on-mac| if you can't copy/paste with the clipboard on Mac OS X.
- Fix a bug that fakeclip uses wrong function to escape file-like arguments to shells.  Thanks @thinca for reporting this.
vim-fakeclip-0.2.2.zip 0.2.2 2009-03-25 7.0 Kana Natsuno - Add equivalents for the following commands: |]p|, |]P|, |[p|, |[P|, |i_CTRL-R_CTRL-R|, |i_CTRL-R_CTRL-O|, |i_CTRL-R_CTRL-P|, |c_CTRL-R_CTRL-R|, |c_CTRL-R_CTRL-O|.
- Fix the way to detect the current platform.  For Mac OS X, it depended on some assumptions.  Thanks for someone who wrote about this bug at the Vim Tips Wiki.
vim-fakeclip-0.2.1.zip 0.2.1 2008-10-24 7.0 Kana Natsuno - Refactor.
- Support the paste buffer of GNU screen as a pseudo register.
vim-fakeclip-0.2.0.zip 0.2.0 2008-07-17 7.0 Kana Natsuno - Rename as "fakeclip" (the old name is "cygclip").
- Support Mac OS X.
- Autoloaded.
vim-cygclip-0.1.zip 0.1 2007-12-27 7.0 Kana Natsuno Modified to define the default key mappings as this plugin is loaded.  Add the way to suppress this behavior.
vim-cygclip-0.0.zip 0.0 2007-12-15 7.0 Kana Natsuno Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github