On 28/11/11 06:31, Christian Brabandt wrote:
Hi Bram!
On So, 27 Nov 2011, Bram Moolenaar wrote:
Christian Brabandt wrote:
On Wed, November 16, 2011 9:38 pm, Paul wrote:
On Nov 16, 1:42 am, Christian Brabandtcbli...@256bit.org wrote:
Well, first check that
:echo undofile(@%) points to
On Sun, Nov 27, 2011 at 11:31 PM, Christian Brabandt cbli...@256bit.org wrote:
Hi Bram!
On So, 27 Nov 2011, Bram Moolenaar wrote:
Christian Brabandt wrote:
When using a separate 'undodir' directory to store the undofiles, Vim
uses the complete path of the file as filename, replacing
On Mon, November 28, 2011 4:39 pm, Benjamin Fritz wrote:
Wouldn't you just escape the '%' characters? fnameescape() should do
it for you I think. So you should just do:
:exec rundo fnameescape(undofile(@%))
Yes, I think escape(undofile(@%), '%') will work.
Sorry for the noise,
Christian
--
Christian Brabandt wrote:
On So, 27 Nov 2011, Bram Moolenaar wrote:
Christian Brabandt wrote:
On Wed, November 16, 2011 9:38 pm, Paul wrote:
On Nov 16, 1:42 am, Christian Brabandt cbli...@256bit.org wrote:
Well, first check that
:echo undofile(@%) points to the same
Christian Brabandt wrote:
On Wed, November 16, 2011 9:38 pm, Paul wrote:
On Nov 16, 1:42 am, Christian Brabandt cbli...@256bit.org wrote:
Well, first check that
:echo undofile(@%) points to the same undofile across each platform.
Aha, thanks. That helped me determine that my Vim
Hi Bram!
On So, 27 Nov 2011, Bram Moolenaar wrote:
Christian Brabandt wrote:
On Wed, November 16, 2011 9:38 pm, Paul wrote:
On Nov 16, 1:42 am, Christian Brabandt cbli...@256bit.org wrote:
Well, first check that
:echo undofile(@%) points to the same undofile across each
Interesting about filename-modifiers! But I have one more issue.
On Nov 17, 3:29 am, Christian Brabandt cbli...@256bit.org wrote:
When using a separate 'undodir' directory to store the undofiles, Vim
uses the complete path of the file as filename, replacing the path
separators ('/') by '%'.
On Fri, Nov 18, 2011 at 2:17 PM, Paul truffle...@gmail.com wrote:
Interesting about filename-modifiers! But I have one more issue.
On Nov 17, 3:29 am, Christian Brabandt cbli...@256bit.org wrote:
When using a separate 'undodir' directory to store the undofiles, Vim
uses the complete path of
On Nov 18, 3:52 pm, Benjamin Fritz fritzophre...@gmail.com wrote:
I think :rundo and :wundo were created for this purpose.
Very nice, thank you! Now, is it possible to make these functions
always write to $HOME/.vim/undodir/ instead of to a directory relative
to the file? I ask in part because
On Wed, November 16, 2011 9:38 pm, Paul wrote:
On Nov 16, 1:42 am, Christian Brabandt cbli...@256bit.org wrote:
Well, first check that
:echo undofile(@%) points to the same undofile across each platform.
Aha, thanks. That helped me determine that my Vim silently ignores me
when I try to set
On Nov 16, 1:42 am, Christian Brabandt cbli...@256bit.org wrote:
Well, first check that
:echo undofile(@%) points to the same undofile across each platform.
Aha, thanks. That helped me determine that my Vim silently ignores me
when I try to set relative directories for undodir.
:set undodir=.
Maybe there's a way to make it work just for particular files, with an
autocmd that sets a relative undodir? My experimentation has not paid
off.
--
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,
On Wed, November 16, 2011 2:59 am, Paul wrote:
Maybe there's a way to make it work just for particular files, with an
autocmd that sets a relative undodir? My experimentation has not paid
off.
Well, first check that
:echo undofile(@%) points to the same undofile across each platform.
If this
I work on Unix and Windows machines, but I keep my vim config
directory as well as my documents in sync on my various machines.
The file paths on the two platforms are different, though. So when I
do some work on a document on my Windows machine, and then later do
further work on that same
14 matches
Mail list logo