Below, an excerpt from vim_use thread "Possible error with jumplist management in insert mode with <C-End>"
Please do the following: 1) gvim -u NONE file1 (cursor is on line1, column1) /pattern1 (cursor at the beginning of pattern1) /pattern2 (cursor at the beginning of pattern2) CTRL-End (to go to end-of-file) Now do CTRL-O several times. You go to pattern2, then to pattern1, then to line1, column 1. All as expected. CTRL-I goes to pattern1, pattern2, end-of-file (OK) 2) Now do the same in insert mode. gvim -u NONE file1 (cursor is on line1, column1) i (to go to insert mode) <C-O>/pattern1 (cursor at the beginning of pattern1) <C-O>/pattern2 (cursor at the beginning of pattern2) CTRL-End (to go to end-of-file) Now do "CTRL-O CRTL-O" several times. You go to pattern1, then to line1, column1. "CTRL-O CTRL-I" goes to pattern1, end-of-file. Conclusion: pattern2 has vanished from the jumplist in 2). The same occurs when starting from the end of file1 and replacing CTRL- End with CTRL-Home. A possible work-around is to imap <C-End> with <C-O>G<End> and <C- Home> with <C-O>gg. Best regards Jean Johner -- 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 To unsubscribe, reply using "remove me" as the subject.
