Hi Wiktor!
On Sa, 12 Jan 2013, Wiktor Ruben wrote:
> Thank you for the patch but if I understand correctly now fold will
> stay closed when cursor is already at mark's position i.e. in the same
> line and column. But why not to open fold every time we jump to a mark
> within it? No matter whether cursor is already at mark's position or
> not.
Yes. This is basically how folds work. If the cursor doesn't move, the
fold does not open.
I stumbled over this behaviour some time ago, when I wondered why 'l'
didn't open the fold at the cursors position. The reason was simple: The
cursor was already at the end of line so 'l' didn't make it move and
therefore the fold isn't opened. I even made a patch for this, but Bram
said this was on purpose and is not going to change it.
regards,
Christian
--
Viren machen auch etwas sinnvolles: z.B. Windows löschen.
--
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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment