Am Samstag, 29. März 2014 18:42:35 UTC+1 schrieb Enno:
> Under Windows, the undo-, backup- and swapdir-settings accept back- or 
> forward-slashes, but viminfo only the backslash variant.

It was

let s:tmpdir=$HOME.'/.vim/tmp/'

and

let &viminfo="!,\'10,\"100,:20,h,n".s:tmpdir.'.viminfo'

This did not restore the cursor position in the last edited files.

It works fine now since I changed the topmost line to 

let s:tmpdir=$HOME.'\.vim\tmp\'

I am wondering why, with either one of these settings, gvim still produces a 
_viminfo file in the home directory.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui