LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-03-2004, 06:55 AM   #1
sanjeev.naik
LQ Newbie
 
Registered: Jun 2004
Location: Mumbai, India
Distribution: FEDORA Core 1
Posts: 4

Rep: Reputation: 0
arrow keys in vi insert mode


Hi,

I have FC2 installed on my IBM Netvista PC for 4 months now. I have vim-minimal-6.2.457 which came default in FC2. I was using it quite some time, now suddenly the arrow keys stop working in insert mode. It produces letters A, B, C, D if pressed in insert mode. What could be the reason behind it?
Can anybody help me to solve it.
Thnks
Sanjeev
 
Old 09-03-2004, 09:36 AM   #2
Squall
Member
 
Registered: Jan 2004
Location: The land of the free and the home of the brave
Distribution: Slack 10
Posts: 239

Rep: Reputation: 31
What vi are you using, or are you using a clone? Try vim.
 
Old 09-03-2004, 11:58 AM   #3
sanjeev.naik
LQ Newbie
 
Registered: Jun 2004
Location: Mumbai, India
Distribution: FEDORA Core 1
Posts: 4

Original Poster
Rep: Reputation: 0
Its vim only

Yes, it is vim which comes in FC2. I have also mentioned the version in my earlier post. One more thing, I had updated the FC2 through yum once. The bash version is 2.05b.

San
 
Old 09-03-2004, 01:27 PM   #4
davidcrawley
LQ Newbie
 
Registered: Feb 2004
Distribution: Fedora 1, RH 9, Debian
Posts: 12

Rep: Reputation: 0
Does it consistantly produce the same error whenever you switch to insert mode even if you us A to get in to insert mode?
 
Old 09-03-2004, 01:41 PM   #5
Squall
Member
 
Registered: Jan 2004
Location: The land of the free and the home of the brave
Distribution: Slack 10
Posts: 239

Rep: Reputation: 31
Re: Its vim only

Quote:
Originally posted by sanjeev.naik
Yes, it is vim which comes in FC2. I have also mentioned the version in my earlier post. One more thing, I had updated the FC2 through yum once. The bash version is 2.05b.

San
Ah, you did.
Sorry.
 
Old 09-03-2004, 01:52 PM   #6
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
try...in the .vimrc file:
set nocompatible
set backspace=2
 
Old 09-04-2004, 12:21 PM   #7
sanjeev.naik
LQ Newbie
 
Registered: Jun 2004
Location: Mumbai, India
Distribution: FEDORA Core 1
Posts: 4

Original Poster
Rep: Reputation: 0
Got the solution

Thanks guys for your help. But I found the mistake. During installation of FC2, I did not select vim-common & vim-enhanced editors. The only package installed was vim-minimum.
Sanjeev
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Scroll with arrow keys in the terminal window? halfpower Debian 1 09-28-2005 04:59 AM
Numeric keypad arrow keys arielgr Linux - Newbie 2 08-23-2005 10:04 AM
VIM and the arrow keys Buto Linux - Software 1 09-16-2004 07:38 PM
Arrow keys in nethack Levitate Linux - Games 3 08-22-2004 11:44 AM
Flash apps and arrow keys jinksys Linux - General 3 03-04-2004 07:17 PM

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

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

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