extend t T f F

Is it possible to make ';' trigger a catch if there are no more
matches in a line? Without it displaying an error message.

Something like the following:

function! Semi()
  try | normal! ;
  catch | normal! +
  endtry
endfun
nmap <F12> :call Semi()<cr>

-Bill

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui