Monday, March 7, 2016

Jump to last modified buffer

Say I have lots of buffers open, because I've been navigating all over the place in my project. How can I quickly jump back to the buffer (and position) that I last modified? "g;" and ":changes" appear to be buffer local, and ":jumps" doesn't tell me which one was last modified. I could set a global mark before I navigate away from my edit, but I've most likely forgotten to do that. Now that I think about it, this could probably be done by having an autocmd create a mark every time I exit insert mode.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment