Wednesday, November 23, 2011

Re: Can I set directory for 'patchmode' ?

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 ?
>
> Not everyone in my team at work is using vim, and all those backup, swap
> and original files that vim creates when I use it are nothing but
> annoying  to them. And to me, too, actually.
>
> Now I can move the .swp and ~ files away with 'directory' and 'backup'
> options, but is there a way to also have the .orig files away from my
> source tree 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

--
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: