Friday, May 28, 2010

Problem using for maps

Hi.
I am trying to use the <Plug> attribute for my script keymaps. But so far is not working as expected.
I have the next in a afile called keymaps.vim
nnoremap <silent>  <Plug>KeymapsOpenFile :browse e<CR>
map <C-o> <Plug>KeymapsOpenFile

This is not working, when I press <C-o> nothing happens.
But if I manually from the command line type:
:map <C-o> <Plug>KeymapsOpenFile

Then the map works perfectly.
Any ideas???
thanks

--
Un saludo
Best Regards
Pablo Giménez

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

No comments: