On 11/23/12 15:03, Kartik Agaram wrote:
> I just noticed that gq} moves the cursor to the next paragraph,
> but gq{ leaves the cursor as is. (I'm starting with the cursor
> positioned in the empty line between paragraphs.) Is this
> deliberate? Are there other motion commands that try to be smart
> like this? (I tried g~, but it seems consistent between } and {.)
> Pointers to the help or previous discussions most appreciated.I can't offer up much explanation, but :help gq states that """ The cursor is left on the first non-blank of the last formatted line. """ so it's at least documented. I suspect that it has to do with the fact that the content is rejiggered, moving the starting/ending point. Most of the other commands that come to mind leave the shape of the text the same, or they remove/replace the content with new content. -tim -- 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
