You are not logged in.

#1 2011-03-03 11:44:47

steelbak
Member
Registered: 2011-02-27
Posts: 19
Website

~/.vimrc

vim installed and working, but no sign of ~/.vimrc ? How do I find it?  Thanks in advance.

Offline

#2 2011-03-03 12:10:36

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

Re: ~/.vimrc

'locate vimrc'
You can copy /usr/share/vim/vim73/vimrc_example.vim to your $HOME or just write your own.

Offline

#3 2011-03-03 14:14:15

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: ~/.vimrc

Generally, files like .vimrc (for that matter other files that start with ".") are generally user-specific preferences for a software. User specific files are located in the home directory, if not present you can create them. A LOT of programs support user-preferences this way.

So, /etc/vimrc is global file and .vimrc acts per user..  If its not there, you can always create it.

Offline

#4 2011-03-04 02:13:43

steelbak
Member
Registered: 2011-02-27
Posts: 19
Website

Re: ~/.vimrc

That's awesome. Thanks.

Offline

#5 2011-03-04 02:42:21

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: ~/.vimrc

You may as well be interested in the Post your .vimrc thread which contains various solutions to vim setup tasks.

Last edited by bernarcher (2011-03-04 02:43:29)


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB