Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
.vimrc location
Name: aliabbas Date: October 11, 2004 at 10:41:52 Pacific OS: Windows XP CPU/Ram: 1.4 GHz P4/512 DDR
Name: Synapse Date: October 11, 2004 at 14:55:12 Pacific
Reply:
#locate vimrc
"The path to enlightenment is /usr/bin/enlightenment"
0
Response Number 2
Name: Wolfbone Date: October 11, 2004 at 15:38:06 Pacific
Reply:
.foorc = runtime configuration file for programme "foo" located in user's home directory.
/etc/foorc (if it exists) = global (all users) runtime configuration file for programme "foo", overridden by .foorc, if it exists.
Suggesting to someone who cannot find an 'rc' file that '#locate vimrc' is a useful command is not very helpful.
0
Response Number 3
Name: ernie Date: October 12, 2004 at 12:34:36 Pacific
Reply:
And yet, the question was answered. In fact, the queastion was answered in such a way as to permit any user to locate any file under any distribution since the vimrc file may reside in verying locations on various distributions. I liked the answer :)
Ernie [ewilcox@buckeye-express.com] ICQ 41060744 Registered Linux User 247790
0
Response Number 4
Name: Wolfbone Date: October 12, 2004 at 15:14:28 Pacific
Reply:
Really? - typing in a comment at the command line has never managed to locate a file for me, and a distro that fails to conform to the FHS in such an extreme manner is rare (I've never seen one) and may well not install [s]locate by default either :)
0
Response Number 5
Name: 3Dave Date: October 13, 2004 at 09:17:38 Pacific
Reply:
Rather than (s)locate whose database may not be up to date: # find / -name .vimrc
Although Wolfbone's answer is probably the most useful one....
0
Response Number 6
Name: aliabbas Date: October 14, 2004 at 20:40:16 Pacific
Reply:
i still havent find the .vimrc file not in etc, not in /usr/bin I am using Sun Linux
Ali Abbas
0
Response Number 7
Name: aliabbas Date: October 14, 2004 at 20:42:29 Pacific
Reply:
even when i tried the find command I dont find anything ..yea I do use Vi editor and I have found .viminfo file but not .vimrc file
Ali Abbas
0
Response Number 8
Name: 3Dave Date: October 15, 2004 at 02:32:04 Pacific
Reply:
The .vimrc file should be in your home directory if you have one. I am an emacs user myself but would guess that vim uses a global /etc/vimrc which can be installed as root. This file can then be copied to a users home directory and renamed to .vimrc which can then be edited to suit the individual users needs.
On my system I have both a /usr/share/vim/vim63/vimrc_example.vim and a /usr/share/vim/vim63/gvimrc_example.vim which can be used as templates. If you do not have example ones on your system here's one on the net: http://www.stripey.com/vim/vimrc.html
Summary: Using Slack 8.1 I'm able to connect to my isp and access the web for anywhere from 3 to 10 minutes and then start getting the error message "could not locate remote server". Then it disconnects. I us...