>> :nnoremap <f3> n >> >> ...and soooo boringly simple :) >> >> The catch is that "n" searches in the same direction as the last >> search. So if you search backwards, "n" will continue to search >> backwards. >> >> -tim > > But how do I make it work when I'm in insert mode? I would have thought: > > inoremap <F3> <C-O>:n<CR>
:inoremap <f3> <c-o>n -tim Works like a charm. Thanks! Alain --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
