On Jul 1, 2:34 pm, googler <[email protected]> wrote:
> Hi everybody, thanks for your replies. All this information will
> definitely be helpful. However, when I posted this question, what I
> was thinking was if there is a keystroke or two that will take me to
> the previous search or the one before that. Something like pressing
> CTRL key or a function key. Seems like there is no such shortcut. So
> was thinking if one can create such a mapping.
>
Simply use :nmap or :nnoremap with any of the methods already
discussed.
For example, these are basically equivalent and do ALMOST what you
want:
:nmap <F4> /<Up><Up><CR>
:nmap <F4> q/kk<CR>
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---