Friday, December 2, 2011

Re: F3 acting like 'g~w' with Filetype 'mail'

Tony Mechelynck a écrit :

> On 02/12/11 12:25, Bastien Dejean wrote:
> >I was wondering what would lead 'F3' to be mapped to 'g~w' with the
> >'mail' file type?
> >
> >I want 'F3' to be:
> >
> > nmap<silent> <F3> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") .">" . " fg<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"fg#") .">"<CR>
> >
> >regardless of the file type.
> >
> >Greetings,
>
> When editing a mail file, what are the answers to:
>
> :verbose map <F3>

n <F3> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") .">" . " fg<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"fg#") .">"<CR>
>
> :verbose map! <F3>

No mapping found.

I just realized F1 and F2 also have a similar behavior:
'F1' seems to be '~', 'F2': '2~', and 'F3': '3~'... ?!

Greetings,
--
Bastien

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