Hi,

For a long time now, I have been using Vim alongside VisualStudio by
doing all my editing in Vim and compiling and debugging in VS.  If I
save a file in Vim and it is open in VS, VS asks me if I want to
reload, and I say yes.  I know some people would find working this way
clumsy, but I actually have no problem with it.

Now I am starting to use Eclipse for Java, and I am very impressed
with all the conveniences it provides in terms of completing and
creating code, and I am considering a mode of about half Eclipse and
half Vim, using Vim for regular text-editing tasks and Eclipse for its
code completion, etc.  The problem is that if I save something from
Eclipse and then reload the file in Vim, I lose all my undos to that
point.  What I would like is the possibility to undo the reload
itself, and I'm considering implementing this at the Vim code level.
I have two questions:

1)Does this or something similar already exist, and I'm just missing it?

2)If not, is it doable, and what would I have to change?

I suppose I would want this to be some kind of option, like :set
undoablereload, say, so that the default functionality would still be
available.

Thanks very much.

Ephraim

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to