How to configure following keys in
- 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.
Backspaceworking as said above.
Deletekey 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.
Vimcomes back to normal mode after that, leaving messed-up text.
$ bash --version GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc. $ vim --version VIM - Vi IMproved 7.0 (2006 May 7, compiled Jun 12 2009 07:08:36)
If the above is not configurable, Please let me know, How I can at-least map Delete key to nothing, so that above weird behavior doesn't take place ?