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

Odd python issue

Expand Messages
  • Where Where
    Hello all. When I enter this command: autocmd CursorMoved * py print 1 n2 n3 n4 ...and then move around, vim only displays 4. By contrast, when I enter
    Message 1 of 1 , Jun 1, 2011
      Hello all.

      When I enter this command:
      autocmd CursorMoved * py print "1\n2\n3\n4"

      ...and then move around, vim only displays "4." By contrast, when I
      enter 'print "1\n2\3\n4", all four numbers are printed. Does anybody
      know why this may be?

      Many thanks,
      Daniel

      --
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.