LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-02-2006, 03:29 PM   #1
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
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.
 
Old 04-02-2006, 05:39 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vim backspace problem (no, not THAT one!) mad_pear Linux - Software 3 07-14-2009 12:03 AM
Backspace not working under Gnome David Doyle Linux - General 1 03-28-2005 05:48 AM
Backspace Key doesn't work correctly in Vim in Slack 9.1 IBall Slackware 1 04-27-2004 10:07 PM
backspace key printing ^? in vim clockworks Linux - General 3 01-23-2004 12:07 PM
Backspace not working at login screen bspicer Linux - General 2 04-11-2002 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration