Skip to content

Commit d3aa600

Browse files
dfishburnvim-scripts
authored andcommitted
Version 10.0
NF: Change the buffer name to [YankRing] to resemble other non-user buffers. NF: Added g:yankring_min_element_length which can prevent items from being added to the YankRing if they are too small. For example, single character deletes (Vedran M). BF: When shifting focus back to Vim, the YankRing may incorrectly report: "YR:Failed to change to the yankring buffer, please contact author". BF: When entering Vim for the first time and hitting "p" nothing was pasted (Mark Huiskes). BF: When entering Vim for the first time and the yankring_clipboard_monitor = 1, the clipboard entry was not automatically added to the yankring. BF: When overriding the default and setting g:yankring_window_use_bottom = 0, the YankRing would report the error (Sergey Khorev): E21: Cannot make changes, 'modifiable' is off
1 parent 9ec7c31 commit d3aa600

File tree

2 files changed

+116
-41
lines changed

2 files changed

+116
-41
lines changed

doc/yankring.txt

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

33
Author: David Fishburn August 29, 2009
4-
Version: 9.0
4+
Version: 10.0
55

66
For instructions on installing this file, type
77
:help add-local-help |add-local-help| inside Vim.
@@ -94,6 +94,13 @@ your |.vimrc|.
9494
< Default: 100
9595
Controls how many elements to save in the yankring. >
9696
let g:yankring_max_history = 100
97+
yankring_min_element_length
98+
< Default: 1
99+
If the yanked element has a length less than this value
100+
if will not be added to the YankRing. This can be useful if
101+
you want to bypass single letter deletes by adding the
102+
following to your .vimrc: >
103+
let g:yankring_min_element_length = 2
97104
yankring_max_element_length
98105
< Default: 1048576 (1M)
99106
Will truncate a new entry to the specified maximum. If
@@ -1124,6 +1131,25 @@ mapping: >
11241131
==============================================================================
11251132
7. History *yankring-history*
11261133

1134+
10.0: January 31, 2010
1135+
NF: Change the buffer name to [YankRing] to resemble other
1136+
non-user buffers.
1137+
NF: Added g:yankring_min_element_length which can prevent
1138+
items from being added to the YankRing if they are too small.
1139+
For example, single character deletes (Vedran M).
1140+
BF: When shifting focus back to Vim, the YankRing may incorrectly
1141+
report: "YR:Failed to change to the yankring buffer,
1142+
please contact author".
1143+
BF: When entering Vim for the first time and hitting "p"
1144+
nothing was pasted (Mark Huiskes).
1145+
BF: When entering Vim for the first time and the
1146+
yankring_clipboard_monitor = 1, the clipboard entry
1147+
was not automatically added to the yankring.
1148+
BF: When overriding the default and setting
1149+
g:yankring_window_use_bottom = 0, the YankRing would
1150+
report the error (Sergey Khorev):
1151+
E21: Cannot make changes, 'modifiable' is off
1152+
11271153
9.0: August 29, 2009:
11281154
BF: You cannot execute a macro with ":normal @a". It is still
11291155
not possible, but you can execute it with ":normal! @a"

0 commit comments

Comments
 (0)