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

68662Re: Issue 121 in vim: cursor jumps to the end of closed fold when executing a register

Expand Messages
  • Christian Brabandt
    Mar 12, 2013
    • 0 Attachment
      On Tue, March 12, 2013 14:06, vim@... wrote:
      > Status: New
      > Owner: ----
      > Labels: Type-Defect Priority-Medium
      > New issue 121 by vlad.ir...@...: cursor jumps to the end of closed
      > fold when executing a register
      > http://code.google.com/p/vim/issues/detail?id=121
      > What steps will reproduce the problem?
      > The following code shows how to reproduce this issue. I use netrw help
      > file
      > as an example because it's a large file with many folds.
      > "-----BEGIN-----------------------------
      > edit $VIMRUNTIME/doc/pi_netrw.txt
      > set fdm=marker fdl=0
      > " Position cursor on the first line of the first closed fold.
      > normal! ggzj
      > let @z = "echo line('.')"
      > echo line('.')
      > @z
      > echo line('.')
      > "-----END-------------------------------
      > What is the expected output? What do you see instead?
      > The cursor position should not change.
      > Insted, it jumps to the last line in the closed fold.
      > What version of the product are you using? On what operating system?
      > Vim 7.3.829 from Cream project, Windows XP.

      I don't see this with Vim. Can you reproduce the issue with vim -u NONE -N


      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 vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 7 messages in this topic