f2e6 [Solved] Vim 6 install no .vimrc [PC-BSD] - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old October 7th, 2009, 01:59
bsdtux bsdtux is offline
Junior Member
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Vim 6 install no .vimrc [PC-BSD]

Hey Guys, I am new to BSD but very familiar with Linux. While doing an install of vim 6 I noticed that syntax highlighting was not on. So I decided to look for the vimrc. In short I guess my question is why does the default install of vim 6 not place a vimrc file under /etc. More curiosity than anything else. I was able to find a solution for me by searching through the forums.

Also just a little background information. I am using PC-BSD 7.0 on a dell D820
Reply With Quote
  #2  
Old October 7th, 2009, 04:48
jrick jrick is offline
Junior Member
 
Join Date: Nov 2008
Location: Michigan
Posts: 84
Thanks: 6
Thanked 5 Times in 4 Posts
Default

According to man vim:

Quote:
/usr/local/share/vim/vimrc
System wide Vim initializations.
If you want to enable syntax highlighting, try using :set syn=on.
__________________
"Gentlemen! You can't fight in here! This is the war room!"
--President Merkin Muffley, Dr. Strangelove
Reply With Quote
  #3  
Old October 7th, 2009, 07:33
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Quote:
Originally Posted by bsdtux View Post
In short I guess my question is why does the default install of vim 6 not place a vimrc file under /etc.
That's simply because ports never install anything in /etc.

If you want to customize simply create ~/.vimrc and put your commands in there.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #4  
Old October 7th, 2009, 10:32
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,854
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

bsdtux, read this carefully:

Topics about PC-BSD / FreeNAS / DesktopBSD / pfSense
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #5  
Old October 7th, 2009, 23:47
bsdtux bsdtux is offline
Junior Member
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
Sorry about that. I will redirect those questions there. Also thanks guys for your answers. Like I said I was able to find the solution I was just more curios.

Course I think I will give this a try on my FreeBSD server and see about the3 results.

Again thanks everyone.
Reply With Quote
  #6  
Old October 8th, 2009, 10:35
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,854
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

I wasn't trying to scare you away Just be warned about possible consequences when you simply apply FreeBSD advice to derived products.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #7  
Old October 9th, 2009, 01:39
bsdtux bsdtux is offline
Junior Member
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
I wasn't trying to scare you away Just be warned about possible consequences when you simply apply FreeBSD advice to derived products.
No worries. But that does make sense. Again thanks everyone.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free BSD 4.X install Partition Error " / rdbrock Installing & Upgrading 16 January 17th, 2010 23:59
How do I install BSD 3.3 from an old CDROM? Jessica Installing & Upgrading 16 September 15th, 2009 09:30
Vim backspace delete Business_Woman Installation and Maintenance of FreeBSD Ports or Packages 3 September 12th, 2009 06:50
vim graudeejs Off-Topic 20 February 21st, 2009 05:53
BSD 7.1 Install Fails on Q BSDNoob2049 Installing & Upgrading 4 January 29th, 2009 23:29


All times are GMT +1. The time now is 06:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0