LinuxQuestions.org
Review your favorite Linux distribution.
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, 01: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, 01:19 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

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

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

Then start vim
 
Old 01-03-2005, 01: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, 03:15 PM   #5
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
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 03:17 PM.
 
  


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


All times are GMT -5. The time now is 07:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration