Hi Raúl On 19 май, 13:35, Raúl Núñez de Arenas Coronado <raul...@gmail.com> wrote: > Hi all :) > > Moreover, in my map I want to do something like this (which doesn't > work): > > nnoremap <buffer><Leader>o :while getline(".")[col(".") - 1] == > '>'\|normal l\|endwhile<CR> It doesn't work for me either. I suppose that 'map' has the similar limitation as :execute has.
As far as I can see the following mapping does what you want: nnoremap <buffer><Leader>o :call search('>\+', 'cWe')<CR> Best wishes, Maxim. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---