On Sun, Jul 21, 2013 at 6:12 AM, Dan <[email protected]> wrote:
> These commands perform the same function:
> 25G
> 25gg
> :25<CR>
>
> But the first two save the cursor position to the jump list, whereas the last
> command does not, which I feel is inconsistent and a bug.
>
> For example, with the following buffer:
>
> 1 abc
> 2 def
> 3 ghi
>
> Entering the following commands:
> :1<CR>
> :2<CR>
> :3<CR>
> <C-O> (command that moves cursor to previous line in jump list)
> <C-O>
>
> Should move you to lines 1, 2, 3, 2, 1 respectively, but at present the <C-O>
> commands do NOT move you back to lines 2 and 1.
This is documented. ":h jump-motions":
> A "jump" is one of the following commands: "'", "`", "G", "/", "?",
> "n", "N", "%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M",
> "H" and the commands that start editing a new file.
--
--
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.