vim how to configure backspace and delete key's both as normal

view story

http://unix.stackexchange.com – How to configure following keys in vim? Backspace key to delete a character backwards. Delete key to delete a character forwards. After reading some posts, I got to know that only one of those can be used to delete a character. But I guess the above behavior would be achievable. Current scenario Backspace working as said above. Delete key is however acting weird. On pressing it, the character under the cursor get's replaced by ~, and later 5-6 keystrokes changes it to aplahabet and also change the case. Vim comes back to normal mode after that, leaving messed-up text. Details $ bash (HowTos)