View Full Version : Function key mapping from Terminal to ViM?

08-30-2007, 07:37 PM
Okay so I'm not a newbie but I should know this. Anyway I have a ViM mapping set:

nmap <F13> :set wrapmargin=0<CR>

However it's never activated. If I did something like:

nmap v :setwrapmargin=0<CR>

no problems. So obviously the F13 isn't being recognized by ViM inside
of Terminal. Where is it losing it?

I changed Terminal to remove the mapping for F13. My $TERM
is xterm-color. My $SHELL is /bin/tcsh. Terminal is set for UTF-8.

I'm sure I'm missing something simple, but where is it?