ctrl +O
ctrl + I(i)
When you move your cursor to a particular position in a file, Vim remembers this and lets you move around between where you are where you were. CTRL-O goes to the older position, and CTRL-I or tab goes to the newer one. 僅限於normal mode
from http://dailyvim.tumblr.com/post/6826612086/ctrl-o-and-ctrl-i-or-the-jumplist-or-friggin-vim-time
vim打開文件之后光標一般都在文件開頭,想要跳到上次關閉文件前的位置用'0