On 22/01/09 09:30, schnullux wrote:
>
> Hello Tony,
>
> Thanks for your Answer and sorry for the delay!
>
> Well it seemed I am to stupid for this realy simple task:,(
>
> I striped the "plugin" as simple as possible only to see if the<F1> mapping
> works but It don“t work
> <br>
> code cha.vim
>
> function! AddMyHeader()
> echomsg ("Was called")
> endfunction
> noremap<unique> <script> <Plug>HeaderAdd :call AddMyHeader()<CR>
>
>
> map in .vimrc
>
> map<F1> <Plug>HeaderAdd
>
>
> If I call :map I get following maps:
>
> <Plug>HeaderAdd& :call AddMyHeader()<CR>
> <F9> :!make<CR>
> <F4> :call Fxxd()<CR>
> <F3> :r~/CHA/template/function.txt<CR>
> <F2> :r~/CHA/template/class.txt<CR>
> <F1> <Plug>HeaderAdd
> n<SNR>7_Paste& :call<SNR>7_Paste()<CR>
> <xHome> <Home>
> <xEnd> <End>
> <S-xF4> <S-F4>
> <S-xF3> <S-F3>
> <S-xF2> <S-F2>
> <S-xF1> <S-F1>
> <xF4> <F4>
> <xF3> <F3>
> <xF2> <F2>
> <xF1> <F1>
>
Try :function to see which user functions are defined.
Best regards,
Tony.
--
Life is a gift, living is an art. (Bram Moolenaar)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---