Benjamin Fritz wrote:

> On Thu, Jul 4, 2013 at 4:44 AM, Bram Moolenaar <[email protected]> wrote:
> > Does the delimitMate return the text to be inserted or does it use
> > setline()?  In the last case it can't be fixed really.
> 
> It actually uses setline().

Why?  What does it do that can't be done by returning a string?

> I think we might need a new (intentional) feature that allows moving
> the cursor in insert mode without breaking undo, or, something like
> undojoin that allows chaining the next insert with this one.
> 
> Basically I want something that allows mappings like here:
> 
> http://vim.wikia.com/wiki/Automatically_append_closing_characters
> 
> to not break the undo sequence.
> 
> At least, delimitMate still doesn't break repeating with '.'; only undo/redo.

-- 
Yesterday, all my deadlines seemed so far away
now it looks as though it's freeze in four days
oh I believe in cvs..
    [ CVS log "Beatles style" for FreeBSD ports/INDEX, Satoshi Asami ]

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui