On 04/07/12 10:18, Dotan Cohen wrote:
If one uses * to find the definition of a constant, how can he
return to the location where he pressed *? I tried Ctrl-O but
it did not take me back.

While others have addressed alternate means of going back, I'm somewhat confused on why ctrl+O didn't work for you. It works here for me (I use it rather regularly), and I've got a somewhat old version of Vim (7.2). Does it work for you if you start Vim with

  vim -u NONE somefile.txt

If it does, it sounds like some script/setting/plugin is interfering either with "*" adding items to the jumplist (you can check the output of ":jumps" after pressing control+O), or with the behavior of control+O (in which case you can check your mappings).

-tim


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

Reply via email to