Hi eliweiq001!

On So, 15 Aug 2010, eliweiq001 wrote:

> Thanks! It's useful.
> 
> It seems that there is not a very easy way to finish it.

fun! IunmapLeader()
    redir =>a |silent! imap <Leader>|redir end
    let b=split(a, '\n')
    for arg in b
        exe "iunmap " . split(arg)[1]
    endfor
endfun

nnoremap <f5> :call IunmapLeader()<cr>

regards,
Christian

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