LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   my vim got mad! (https://www.linuxquestions.org/questions/slackware-14/my-vim-got-mad-273329/)

ilnli 01-03-2005 12:05 PM

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?

ringwraith 01-03-2005 12:19 PM

less /usr/doc/vim-6.3/doc/vimrc_example.vim
read through that

Cedrik 01-03-2005 12:19 PM

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

Then start vim

ilnli 01-03-2005 12:43 PM

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

Cedrik 01-03-2005 02:15 PM

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


All times are GMT -5. The time now is 12:49 AM.