I want to have my external keyboard's `HOME`, `END`, `PAGEDOWN` and `PAGEUP` working on Leopard's Terminal. So that I changed in Terminal > File > Preferences:

```
Home: \033[H  
End: \033[F  
PageUp: \033[5~  
PageDown: \033[6~  

```

It works 100% in command line - but it doesn't work while editing files in VIM.  

Is there any possibility of remapping VIM keyboard in order to have these keys working?

Regards