| 1 | *cygclip.txt* pseudo clipboard register for non-GUI version of Vim on Cygwin |
|---|
| 2 | |
|---|
| 3 | Version 0.1 |
|---|
| 4 | Copyright (C) 2007 kana <http://nicht.s8.xrea.com> |
|---|
| 5 | License: MIT license (see <http://www.opensource.org/licenses/mit-license>) |
|---|
| 6 | $Id$ |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | ============================================================================== |
|---|
| 12 | INTRODUCTION *cygclip-introduction* |
|---|
| 13 | |
|---|
| 14 | cygclip is a Vim plugin to provide pseudo clipboard register (|quotestar| or |
|---|
| 15 | |quoteplus|) for non-GUI version of Vim on Cygwin. |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | ============================================================================== |
|---|
| 21 | KEY MAPPINGS *cygclip-keymappings* |
|---|
| 22 | |
|---|
| 23 | [count]<Plug>Cygclip_y{motion} *<Plug>Cygclip_y* |
|---|
| 24 | [count]<Plug>Cygclip_Y *<Plug>Cygclip_Y* |
|---|
| 25 | {Visual}<Plug>Cygclip_y *v_<Plug>Cygclip_y* |
|---|
| 26 | {Visual}<Plug>Cygclip_Y *v_<Plug>Cygclip_Y* |
|---|
| 27 | Same as |y| or |Y|. |
|---|
| 28 | NOTE: <Plug>Cygclip_y accepts y as a motion. |
|---|
| 29 | |
|---|
| 30 | [count]<Plug>Cygclip_p *<Plug>Cygclip_p* |
|---|
| 31 | [count]<Plug>Cygclip_P *<Plug>Cygclip_P* |
|---|
| 32 | [count]<Plug>Cygclip_gp *<Plug>Cygclip_gp* |
|---|
| 33 | [count]<Plug>Cygclip_gP *<Plug>Cygclip_gP* |
|---|
| 34 | Same as |p|, |P|, |gp| or |gP|. |
|---|
| 35 | |
|---|
| 36 | *i_<Plug>Cygclip_insert* |
|---|
| 37 | *c_<Plug>Cygclip_insert* |
|---|
| 38 | <Plug>Cygclip_insert Insert the content of the clipboard like |i_CTRL-R|. |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | *g:cygclip_no_default_key_mappings* |
|---|
| 42 | *Cygclip_DefaultKeymappings()* |
|---|
| 43 | The following key mappings will be defined automatically (via |
|---|
| 44 | Cygclip_DefaultKeymappings()). If you don't want to define these default key |
|---|
| 45 | mappings, define g:cygclip_no_default_key_mappings with any value before this |
|---|
| 46 | plugin is loaded. |
|---|
| 47 | |
|---|
| 48 | Normal mode and Visual mode ~ |
|---|
| 49 | |
|---|
| 50 | "+y{motion} "*y{motion} (Normal mode only) |
|---|
| 51 | "+y "*y (Visual mode only) |
|---|
| 52 | "+Y "*Y |
|---|
| 53 | |
|---|
| 54 | "+p "*p |
|---|
| 55 | "+P "*P |
|---|
| 56 | "+gp "*gp |
|---|
| 57 | "+gP "*gP |
|---|
| 58 | |
|---|
| 59 | Insert mode and Command-line mode ~ |
|---|
| 60 | |
|---|
| 61 | <C-r>+ <C-r>* |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | ============================================================================== |
|---|
| 67 | BUGS *cygclip-bugs* |
|---|
| 68 | |
|---|
| 69 | (a) The characteristic (i.e., characterwise, linewise or blockwise) of the |
|---|
| 70 | clipboard content is not remembered. It will be linewise if each line of the |
|---|
| 71 | clipboard content ends with a newline, otherwise it will be characterwise. |
|---|
| 72 | |
|---|
| 73 | (b) Executing <Plug>Cygclip_y in Normal mode, the display of 'showcmd' is |
|---|
| 74 | different from the ordinary one. |
|---|
| 75 | |
|---|
| 76 | (c) This plugin just provide pseudo clipboard register for ordinary editing. |
|---|
| 77 | So |getreg()|, |setreg()|, |expr-register| and other interface on clipboard |
|---|
| 78 | register are not supported. |
|---|
| 79 | |
|---|
| 80 | |
|---|
| 81 | |
|---|
| 82 | |
|---|
| 83 | ============================================================================== |
|---|
| 84 | CHANGELOG *cygclip-changelog* |
|---|
| 85 | |
|---|
| 86 | 0.1 2007-12-27T22:47:34+09:00 |
|---|
| 87 | - Modify to automatically define the default key mappings as this |
|---|
| 88 | plugin is loaded. See |g:cygclip_no_default_key_mappings| for how |
|---|
| 89 | to suppress this behavior. |
|---|
| 90 | |
|---|
| 91 | 0.0 2007-08-13 |
|---|
| 92 | - First release. |
|---|
| 93 | |
|---|
| 94 | |
|---|
| 95 | |
|---|
| 96 | |
|---|
| 97 | ============================================================================== |
|---|
| 98 | vim:tw=78:ts=8:ft=help:norl: |
|---|