Troydm (?) wrote: > Also as it is now i can move a cursor from InsertEnter as long as it's moved > on a different line (not the same line) > > for example open some multi line file > > do > > :au InsertEnter <buffer> normal! 3jl > > try entering insert mode on the first line (it works) > > now reopen some other multiline file and do > > :au InsertEnter <buffer> normal! 3l > > And it doesn't works
That's a bug. The check for the line is to avoid going outside of the available lines when the text has changed. -- Permission is granted to read this message out aloud on Kings Cross Road, London, under the condition that the orator is properly dressed. /// 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.
