Hi Dotan! On Di, 14 Dez 2010, Dotan Cohen wrote:
> Hi all, does VIM have a way to move the cursor to the location of the > last change? For instance, in Visual Studio one can press Ctrl-Minus > to go to the line and column of the last edit to the currently open > file. Pressing the shortcut again will go to the location of the edit > previous to that, and so forth. I find this feature immensely useful, > and cannot google an equivalent in VIM. Must I create a macro? How? I > suppose that it would go to the last place where I pressed ESC from > edit mode, but I have no idea from where to get that information. You might find g, to go the next newer change and g; to go to the next older change useful. For navigating in the change list, also see the :changes command. See :h g, :h g; :h :changes regards, Christian -- 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
