LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-03-2005, 12:05 PM   #1
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Rep: Reputation: 32
my vim got mad!


can anyone tell me how can I correct up the keymaps for my vim cause
when i press up arrow instead of going upwared it writes "A" similarly when pressing down arrow instead of going downward it writes "B".
I don't know why it is showing this behaviour, can anybody please tell me what to do?
 
Old 01-03-2005, 12:19 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
less /usr/doc/vim-6.3/doc/vimrc_example.vim
read through that
 
Old 01-03-2005, 12:19 PM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Try :
cp /usr/share/vim/vim63/vimrc_example.vim ~/.vimrc

Then start vim
 
Old 01-03-2005, 12:43 PM   #4
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
how can i set up a color scheme?
cause when i open files in /etc/rc.d
it shows them only in two color grey and white
 
Old 01-03-2005, 02:15 PM   #5
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
After copying /usr/share/vim/vim63/vimrc_example.vim in my home dir and rename it .vimrc,

I usually add this line in my ~/.bashrc :

export VISUAL=vim

Also to enable this for root user, I copy the .vimrc in /root and modify /root/.bashrc the same
way

Last edited by Cedrik; 01-03-2005 at 02:17 PM.
 
  


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
encryption with Vim (vim -x) mikshaw Linux - Software 2 03-07-2007 09:00 AM
Sendmail's Gone Mad da_tibmeister Linux - Networking 5 09-28-2004 11:04 AM
Getting mad of apache J_Szucs Linux - Software 8 11-21-2003 01:47 AM
:mad: Installation prob :mad: soodvarun Red Hat 0 09-12-2003 01:44 AM
Need help...about to go mad!!! ludwig W Linux - General 2 03-26-2003 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:12 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