Skip to content

Commit c5868dc

Browse files
dfishburnvim-scripts
authored andcommitted
Version 4.0
NF: The yankring by default now captures all |text-objects| and all motions (|motion.txt|) which Vim supports. Version 3.0 only supported a subset of the basic motion commands. NF: Prior to this version only predefined maps triggered the capture of data into the yankring. These maps only supported yanks and deletes. The yankring now also supports operator-pending mode, which allows a greater range of operations to be automatically captured and added to the yankring. Operating pending mode functionality requires Vim 7.2 or Vim 7.1 with patch #205. If using Vim 7.1 you can determine this with: echo has("patch205") NF: Prior to this version only yanks and deletes were registered in the yankring. Changes are now also captured into the yankring. NF: The yankring will also capture the system cliboard when focus is returned to the vim window. This is useful if you copy text between applications. NF: The yankring window always opened bottom horizontal. Now it can be opened top or bottom and horizontal or vertically. This can be controlled via variables in your .vimrc. BF: The yankring has an option to persist between instances of Vim by storing the values in global variables within the viminfo. This has led to some unusual ordering of items in the ring from conflicts between instances. This option has been turn off by default. BF: Their was an issue with yanking using y$.
1 parent f3fb50c commit c5868dc

File tree

2 files changed

+442
-112
lines changed

2 files changed

+442
-112
lines changed

doc/yankring.txt

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
*yankring.txt* For Vim version 7.0.
22

3-
Author: David Fishburn September 7, 2007
4-
Version: 3.0
3+
Author: David Fishburn June 24, 2008
4+
Version: 4.0
55

66
For instructions on installing this file, type
77
:help add-local-help |add-local-help| inside Vim.
@@ -69,11 +69,15 @@ The plugin can be toggled on and off, and supports:
6969
Registers
7070
Counts
7171
All visual modes
72+
All motions
73+
All text-objects
7274

7375
If you have any suggestions for the improvement of this plugin, see the
7476
yankring.vim file for my email address. Suggestions / bug reports are
7577
always welcome.
7678

79+
For details on the changes between versions see |yankring-history|.
80+
7781
==============================================================================
7882
3. Configuration *yankring-configure*
7983

@@ -961,12 +965,46 @@ mapping: >
961965
==============================================================================
962966
7. History *yankring-history*
963967

968+
4.0: June 24, 2008:
969+
NF: The yankring by default now captures all |text-objects| and
970+
all motions (|motion.txt|) which Vim supports. Version 3.0 only
971+
supported a subset of the basic motion commands.
972+
NF: Prior to this version only predefined maps triggered the
973+
capture of data into the yankring. These maps only supported
974+
yanks and deletes. The yankring now also supports
975+
operator-pending mode, which allows a greater range of operations
976+
to be automatically captured and added to the yankring.
977+
Operating pending mode functionality requires Vim 7.2 or Vim 7.1
978+
with patch #205. If using Vim 7.1 you can determine this with:
979+
echo has("patch205")
980+
NF: Prior to this version only yanks and deletes were registered
981+
in the yankring. Changes are now also captured into the
982+
yankring.
983+
NF: The yankring will also capture the system cliboard when focus is
984+
returned to the vim window. This is useful if you copy text
985+
between applications.
986+
NF: The yankring window always opened bottom horizontal. Now it
987+
can be opened top or bottom and horizontal or vertically.
988+
This can be controlled via variables in your .vimrc.
989+
BF: The yankring has an option to persist between instances
990+
of Vim by storing the values in global variables within
991+
the viminfo. This has led to some unusual ordering of
992+
items in the ring from conflicts between instances.
993+
This option has been turn off by default.
994+
BF: Their was an issue with yanking using y$.
995+
996+
3.1: September 10, 2007:
997+
NF: YRClear will now unlet all global variables it uses to store
998+
the data if the persist storage is specified (the default).
999+
Large values in the viminfo file could possibly affect other
1000+
applications.
1001+
9641002
3.0: September 7, 2007:
9651003
NF: Converted the yankring to use the new Vim7's List object which
9661004
means it is no longer compatible with Vim6.
9671005
NF: By default the yankring will now maintain the yankring's items
9681006
persistently by default. It does this via the |viminfo| file.
969-
This means the contents are the yankring rely on the internal
1007+
This means the contents of the yankring rely on the internal
9701008
variables of only 1 Vim instance.
9711009
BF: YRToggle was not unmapping 'gp' and 'gP'.
9721010
BF: YRSearch prompted the user for a regex even if one was provided

0 commit comments

Comments
 (0)