Skip to content

Commit ef2efb7

Browse files
dfishburnvim-scripts
authored andcommitted
Version 6.1
BF: If the g:yankring_history_dir contains spaces (default on Windows) an error was reported. A simple work around was to let g:yankring_history_dir = 'c:\Vim' or no spaces (Matt). All Windows users should download this version.
1 parent 50c70a2 commit ef2efb7

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

doc/yankring.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,11 @@ mapping: >
11071107
==============================================================================
11081108
7. History *yankring-history*
11091109

1110+
6.1: October 31, 2008:
1111+
BF: If the g:yankring_history_dir contains spaces (default on
1112+
Windows) an error was reported. A simple work around was to
1113+
let g:yankring_history_dir = 'c:\Vim' or no spaces (Matt).
1114+
11101115
6.0: October 25, 2008:
11111116
NF: The YankRing now maintains the history in a file. This means
11121117
if you are running multiple instances of Vim, they all see

plugin/yankring.vim

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
" yankring.vim - Yank / Delete Ring for Vim
22
" ---------------------------------------------------------------
3-
" Version: 6.0
3+
" Version: 6.1
44
" Authors: David Fishburn <[email protected]>
5-
" Last Modified: 2008 Oct 28
5+
" Last Modified: 2008 Oct 31
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
@@ -18,7 +18,7 @@ if v:version < 700
1818
finish
1919
endif
2020

21-
let loaded_yankring = 60
21+
let loaded_yankring = 61
2222

2323
let s:yr_has_voperator = 0
2424
if v:version > 701 || ( v:version == 701 && has("patch205") )
@@ -219,12 +219,11 @@ let s:yr_buffer_last = -1
219219
let s:yr_buffer_id = -1
220220
let s:yr_search = ""
221221
let s:yr_history_last_upd = 0
222-
let s:yr_history_file = escape(
222+
let s:yr_history_file =
223223
\ g:yankring_history_dir.'/'.
224224
\ g:yankring_history_file.
225225
\ (g:yankring_share_between_instances==1?'':'_'.v:servername).
226-
\ '.txt',
227-
\ ' ')
226+
\ '.txt'
228227

229228

230229
" Vim window size is changed by the yankring plugin or not

0 commit comments

Comments
 (0)