Friday, November 25, 2011

Re: Can I set directory for 'patchmode' ?

On 23.11.2011 18:57, Ben Fritz wrote:
>
>
> On Nov 23, 6:19 am, Timothy Madden<terminato...@gmail.com> wrote:
>> Hello
>>
>> Is there a way to have the .orig files, created with 'patchmode' in
>> effect, be created in some other directory ?
>>
[...]
> From :help 'patchmode', it looks like the files created by patchmode
> use the 'backupdir' option.
>
> And, don't forget the 'undodir' option for Vim 7.3's persistent undo!
> Try it, you'll like it :-) (especially if you also use a plugin to
> visualize your undo tree).
>
> http://vim.wikia.com/wiki/Using_undo_branches

:help 'patchmode' says 'backupdir' must not be empty, and the backup
copy is "renamed" into the .orig file. However it does not say the .orig
file is created in the 'backupdir'. I guess "rename" here also implies
"move" ...

I have vim 7.3 and the backup files are indeed created in the
'backupdir', but .orig files are still in the file directory.

--
You received this message from the "vim_use" 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

No comments: