I was wondering if there is a way to go back to the previous line that you were in Vim.
Say, for example, I am writing C code and I just wanted to add #include
at the top of the page: I press gg
and go to the beginning, add #include
, and then I want to go back to the line I stopped with.
Is this possible in Vim?
vim vi
Amit Jan 29 '11 at 15:00 2011-01-29 15:00
source share