Re: Move cursor to location of last change

2010-12-17 Thread Dotan Cohen
On Tue, Dec 14, 2010 at 22:11, Christian Brabandt wrote: > 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 > > Thanks, this is great! -- Dotan C

Re: Move cursor to location of last change

2010-12-17 Thread Dotan Cohen
On Tue, Dec 14, 2010 at 22:13, Christian Brabandt wrote: >> Gundo is a great plugin to navigate change history (provides a lot of >> functionality including working with undo trees). >> >> http://www.vim.org/scripts/script.php?script_id=3304 > > But that works with the undo history and not the cha

Re: Move cursor to location of last change

2010-12-17 Thread Dotan Cohen
On Tue, Dec 14, 2010 at 21:22, Adam wrote: > '. should do the trick, though as far as I know it can only go back to the > past edit location. > Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the "vim_use" maillist. Do not top-post! Typ

Re: Move cursor to location of last change

2010-12-14 Thread Christian Brabandt
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

Re: Move cursor to location of last change

2010-12-14 Thread Christian Brabandt
Hi Adam! On Di, 14 Dez 2010, Adam wrote: > > > > I think there may be a plugin for change history. Hopefully someone else > > will help with that. -ak > > > > Gundo is a great plugin to navigate change history (provides a lot of > functionality including working with undo trees). > > http://ww

Re: Move cursor to location of last change

2010-12-14 Thread Adam
> > I think there may be a plugin for change history. Hopefully someone else > will help with that. -ak > Gundo is a great plugin to navigate change history (provides a lot of functionality including working with undo trees). http://www.vim.org/scripts/script.php?script_id=3304 ~Adam~ -- You

Re: Move cursor to location of last change

2010-12-14 Thread AK
On 12/14/2010 02:17 PM, 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 th

Re: Move cursor to location of last change

2010-12-14 Thread Adam
'. should do the trick, though as far as I know it can only go back to the past edit location. ~Adam~ On Tue, Dec 14, 2010 at 13:17, 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

Move cursor to location of last change

2010-12-14 Thread Dotan Cohen
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