You are not logged in.

#1 2011-03-23 20:15:00

lsas
Member
Registered: 2010-11-23
Posts: 23

Vim problems

Hi all.

Recently i've start learning how to use vim, so i'm not so expert..

I'm trying to setup my vimrc, but seems it doesn't work. I've cut copy and paste the example founded on archWiki, to ~/.vimrc but for example i cant see the column numbers, i cant see the current mode and also the colum and line of the cursor.

And that's not all, vim seems not recognize some commands, like help, previous, and others, it just say for example:
" help: not an editor command "


I'm working with the last version i think : 7.3.138-1

What's wrong ? Can someone tell me what's goin on ?


Thanks to all anyway !!

Offline

#2 2011-03-23 20:46:31

Vain
Member
Registered: 2008-10-19
Posts: 179
Website

Re: Vim problems

Hi,

sounds like you started “vi” instead of “vim”. That’s a very different editor. A lot of people tend to mix them up, though. smile

Try starting “vim”.

Offline

#3 2011-03-23 21:01:44

lsas
Member
Registered: 2010-11-23
Posts: 23

Re: Vim problems

Lol, you're right !

Thanks Vain, i was goin crazy.

Can i set a kind of alias, to start vim also with the vi command ??

Offline

#4 2011-03-23 21:21:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Vim problems

alias vi="vim"

Offline

#5 2011-03-24 01:17:54

Anthony Bentley
Member
Registered: 2009-12-21
Posts: 76

Re: Vim problems

lsas wrote:

Can i set a kind of alias, to start vim also with the vi command ??

Yes, but why would you do that? Better to get in the habit of typing "vim” when you want vim, because there’s no guarantee that a vi→vim alias will exist on other systems.

Offline

#6 2011-03-24 10:45:57

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: Vim problems

You may also remove vi if you do not want or need it. That way you can't start it accidentally wink

Offline

Board footer

Powered by FluxBB