You are not logged in.

#1 2009-09-18 17:51:29

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 109

more vi/vim problems

I understand the old "vi" package was in fact "vim", and after the changes, it's now reverted back to "vi", so to use "vim" I need to intall "vim".

I've done this, but vim won't pick up my settings file! I have renamed it from ~/.exrc. to ~/.vimrc but it won't work  Am I misunderstanding something here? why can't vim pick up any settings?

Offline

#2 2009-09-19 05:00:34

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: more vi/vim problems

i don't know for sure, but maybe vim can't read some of the .exrc commands (or syntax).

try creating a blank .vimrc and add the settings to that file.

Offline

#3 2009-09-19 22:38:40

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: more vi/vim problems

soylent_green_is_hamster wrote:

I understand the old "vi" package was in fact "vim", and after the changes, it's now reverted back to "vi", so to use "vim" I need to intall "vim".

Strictly speaking, yes, but lest someone else should misinterpret this, the vi package was a stripped-down version of the vim which has always been in the repos.  The vi package has been changed to point to a different vi clone, ex/vi.  The vi package never had all the features that vim has.

With regard to your settings, please post your config, and tell us how you are invoking vim.

Offline

#4 2009-09-20 09:55:05

shami
Member
From: SLOVAKIA
Registered: 2008-10-29
Posts: 11

Re: more vi/vim problems

yes, this is the mess, first highlighting, indenting, now mouse

I rewriting and adding new lines into .vimrc and always when I start vim I find something what don't work.

I wonna just work hmm

Offline

#5 2009-09-20 11:11:07

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: more vi/vim problems

shami wrote:

yes, this is the mess, first highlighting, indenting, now mouse

I rewriting and adding new lines into .vimrc and always when I start vim I find something what don't work.

I wonna just work hmm

Yeah. So far I have had to add:

syntax on
set mouse=r

since the vim upgrade to get the same functionality I had pre upgrade.

At least vim has great documentation. Each time I have needed to fix something I found it fairly quickly in the help system.

Offline

#6 2009-09-20 14:44:01

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 109

Re: more vi/vim problems

I'm invoking vim with the command 'vim'
I've stripped everything out of my config file except for:

set number

just dunt work sad

Last edited by soylent_green_is_hamster (2009-09-20 14:44:44)

Offline

#7 2009-09-20 17:57:35

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: more vi/vim problems

This is something of a shot in the dark, but can you post the output of "vim --version"?

Offline

#8 2009-09-20 19:57:56

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 109

Re: more vi/vim problems

I'm getting really confused by this!!

carl@interstat ~ $  which vim
/usr/bin/vim
carl@interstat ~ $  ll /usr/bin/vim
lrwxrwxrwx 1 root root 10 2009-08-14 06:27 /usr/bin/vim -> vim-normal

running 'vim-normal' loads vim as expected (and picks up my config)

why doesn't running "vim" work????

carl@interstat ~ $  vim-normal --version
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Aug 14 2009 05:27:05)

Offline

#9 2009-09-21 04:34:03

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: more vi/vim problems

not a fix, but till you find the solution to it, create an alias vim for vim-normal.

Offline

Board footer

Powered by FluxBB