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

134977Re: vim insert mode injection

Expand Messages
  • Christian Brabandt
    Dec 10, 2012
    • 0 Attachment
      On Tue, December 11, 2012 01:21, Marcin Szamotulski wrote:
      > On 16:23 Mon 10 Dec , ping wrote:
      >> I'm looking at a handy way to insert curr timestamp when writing, right
      >> in
      >> insert mode , e.g. in following texts I want it injected right after
      >> "today", and continue my writing
      >> [writing in insert mode]
      >> ...the task was finally done today
      >>
      >> so I think this should work:
      >> * C-R
      >> * =
      >> * strftime('%c')
      >> * enter
      >> * p
      >>
      >> but right after I hit enter , I end up with:
      >>
      >> =strftime('%c')
      >> E15: Invalid expression: strftime('%c')^\e<SNR>113_WrapCmdLine()
      >> Press ENTER or type command to continue
      >>
      >> it looks like sth wrong with one of the function defined in some script.
      >>
      >> I tried this to locate the function:
      >> :verbose function <SNR>113_WrapCmdLine()
      >>
      >> it hanging there without a return , so I have to C-c to interupt the
      >> search.
      >>
      >> anyone can help ?
      >>
      >> thanks!

      I have noticed this too, when playing with your plugin and using
      :debug (I had to kill vim to get out of that loop even when using
      the lastest Vim version)

      regards,
      Christian

      --
      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
    • Show all 7 messages in this topic