LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Backspace not working in Vim (https://www.linuxquestions.org/questions/linux-software-2/backspace-not-working-in-vim-431056/)

corbis_demon 04-02-2006 03:29 PM

Backspace not working in Vim
 
Hi,
I'm running Slack 10.2, and I have this issue with Vim, wherein, the backspace just doesn't function nor does ctrl-h. I have to use the delete key for erasing text. Plus, the end key doesn't work either, pressing it just produces the tilde (not in gvim though, only from bash). What change do I make to the vimrc to get things right? Please advise. Thanks.

Komakino 04-02-2006 05:39 PM

in the .vimrc file in your home dir (or the system wide one in etc if you prefer) have:

set nocompatible
set backspace=2
#and if you want syntax highlighting
syntax on


All times are GMT -5. The time now is 04:47 PM.