Consider the following two sets of commands.

1) vim -Nu NONE -c 'set fdc=2' -c 'normal! ggzf0zR'
Here, typing either "A<CR>" or "o" will create a new line that's not
part of the fold that the cursor started on.

2) vim -Nu NONE -c 'set fdc=2' -c 'put _' -c 'normal! ggzf0zR'
Here, typing "A<CR>" will create a new that is part of the fold, however
"o" will create a new line that is not part of the fold.

The desired behavior in both situations is that "A<CR>" extends the
fold, while "o" moves out of the fold.

It seems like there's an off-by-one issue when the fold is on the last
line of the buffer.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui