Thursday, February 24, 2011

Re: Vim Aware File Management?

On Feb 23, 3:27 pm, Marc Weber <marco-owe...@gmx.de> wrote:
> Funny idea.
>
> It can be done. There exist different ways to track file changes for
> Windows (?), linux and mac.
>
> linux: inotify. Maybe install inotifytools to get an idea whether it
> would work
> mac: never used it. Seems to be called FSevents or such
> windows: no idea.
>
> You can find ruby mac, linux implementations here (ruby):https://github.com/MarcWeber/xrefresh-server(linux branch)
>
> However I'm not sure its worth the effort because this simple VimL code
> was enough for me:https://github.com/MarcWeber/vim-addon-other/commit/5f292af1b3cc84fca...
>
> This kind of operation is not taking much of my time.
>

I don't think the simple code you point to handles the undo files. I
would expect :saveas to make a copy of the undo file, but removing the
original file after the saveas won't remove the original undo file.

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

Post a Comment