Skip to content

Commit 2d0ebbc

Browse files
dfishburnvim-scripts
authored andcommitted
Version 2.0 Beta1a
Some people reported an error when selecting the first item from the yankring.
1 parent 7fdf533 commit 2d0ebbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/yankring.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" ---------------------------------------------------------------
33
" Version: 2.0
44
" Authors: David Fishburn <[email protected]>
5-
" Last Modified: Sat Aug 20 2005 9:33:10 AM
5+
" Last Modified: Mon Aug 22 2005 10:23:30 AM
66
" Script: http://www.vim.org/scripts/script.php?script_id=1234
77
" Based On: Mocked up version by Yegappan Lakshmanan
88
" http://groups.yahoo.com/group/vim/post?act=reply&messageNum=34406
@@ -469,7 +469,7 @@ endfunction
469469
" Clears the yankring by simply setting the # of items in it to 0.
470470
" There is no need physically unlet each variable.
471471
function! s:YRClear()
472-
let s:yr_next_idx = 0
472+
let s:yr_next_idx = 1
473473
let s:yr_last_paste_idx = 0
474474
let s:yr_count = 0
475475
let s:yr_paste_dir = 'p'

0 commit comments

Comments
 (0)