For the ones interested in, I solved the problem with the arrow keys by installing VIM with synaptic package manager. No configuration needed. Thanks to everybody. Salva.