views:

413

answers:

2

I have started using netbeans vim plugin Jvi and i cant seem to find the vimrc file location I found an option that seem to say that it will save the vimrc in the home folder, but there isnt one there.

I am using Ubuntu. thanks

+1  A: 

For most vi-like systems the .vimrc file is optional - if it is there, the program will use it, if it isn't it'll just use the defaults.

From a brief look at the jVi sourceforge page it seems as if the settings in the GUI are equivalent to creating a .vimrc file - so you can either set the details there, or create your own .vimrc.

Andy
+2  A: 

Usually you can find the vim configuration file :

/usr/share/vim/vimrc

(It's very basical and hasn't got powerful options, mappings...)

Then you just have to do:

cp /usr/share/vim/vimrc ~/.vimrc

If you want better .vimrc files or want to complete yours you can look at dotfiles.org

Taurus Olson