Loading ...
Sorry, an error occurred while loading the content.

103008Re: Creating a new undo block

Expand Messages
  • Tobia Conforto
    Apr 2, 2009
      Spiros Bousbouras wrote:
      > Anyone knows if it's possible to achieve the same effect from within
      > a script ?

      Maybe you could try ending insert mode and entering it again?
      See :stopinsert and :startinsert
      Or you could send the <c-g>u from within the function, using
      feedkeys() with the t option, as Ben suggested.


      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 9 messages in this topic