I have pastetoggle set to <F11> and it works.

When I set it with:
:set pastetoggle=<F11>

:opt shows:
pastetoggle     key sequence to toggle paste mode
        set pt=<80>F1

When I set it with:
:set pastetoggle=F11

:opt shows:
pastetoggle     key sequence to toggle paste mode
        set pt=F11

Both seem to work, but when I saw the <80>F1 I wondered:
Is one preferable?

-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