root/lang/vim/cygclip/trunk/doc/cygclip.txt @ 3641

Revision 3641, 2.8 kB (checked in by kana, 5 years ago)

lang/vim/cygclip:
* Modify to define the default key mappings as the plugin is loaded.
* Add the way to suppress this behavior.

  • Property svn:keywords set to Id
Line 
1*cygclip.txt*   pseudo clipboard register for non-GUI version of Vim on Cygwin
2
3Version 0.1
4Copyright (C) 2007 kana <http://nicht.s8.xrea.com>
5License: MIT license (see <http://www.opensource.org/licenses/mit-license>)
6$Id$
7
8
9
10
11==============================================================================
12INTRODUCTION                                            *cygclip-introduction*
13
14cygclip 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==============================================================================
21KEY 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()*
43The following key mappings will be defined automatically (via
44Cygclip_DefaultKeymappings()).  If you don't want to define these default key
45mappings, define g:cygclip_no_default_key_mappings with any value before this
46plugin 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==============================================================================
67BUGS                                                    *cygclip-bugs*
68
69(a) The characteristic (i.e., characterwise, linewise or blockwise) of the
70clipboard content is not remembered.  It will be linewise if each line of the
71clipboard 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
74different from the ordinary one.
75
76(c) This plugin just provide pseudo clipboard register for ordinary editing.
77So |getreg()|, |setreg()|, |expr-register| and other interface on clipboard
78register are not supported.
79
80
81
82
83==============================================================================
84CHANGELOG                                               *cygclip-changelog*
85
860.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
910.0     2007-08-13
92        - First release.
93
94
95
96
97==============================================================================
98vim:tw=78:ts=8:ft=help:norl:
Note: See TracBrowser for help on using the browser.