Thread: VIM on the terminal
05-10-2005, 12:49 AM #1zero17GuestVIM on the terminal
Is anybody know how to make vim colorful on the terminal mac os x like the one in the linux terminal. it seems every time I use vim on terminal mac os x doesn't even have colors, and different like on the linux terminal. should I set up something? or is it the default like that? thanks..
ps: my os is mac os x 10.3.9 panther
05-10-2005, 01:02 AM #2
Choose Terminal > Window Settings.
Choose a setting (Display, Color, or Window) from the Terminal Inspector pop-up menu.
Make the settings you want for your Terminal windows.
Click "Use Settings as Defaults" if you want to preserve these settings as the default settings for all new Terminal windows from Mac help
05-10-2005, 10:53 AM #3zero17GuestOriginally Posted by witeshark
in fact my terminal on my mac doesn't look like above, but look like this:
the version of vim in my mac and my linux are the same. any idea? or is it the default like that and I cannot change anything...
05-11-2005, 01:39 AM #4
That's a good question. I hate when I have no answer, but to ignore is no good, so I will look into it more
05-11-2005, 10:18 AM #5
- Member Since
- Dec 24, 2002
- Los Angeles, California
- 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
In the old days (not to long in the distant past), you would use a string of escape sequences. I don't know what you use now.Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
05-11-2005, 10:46 AM #6zero17GuestOriginally Posted by witeshark
05-11-2005, 07:52 PM #7meltbanana314Guest
You're talking about syntax highlighting, right?
Open up your terminal, become a super user, then open up your .vimrc file and add these lines:
set nocompatible " vim>vi
syntax on " Enable syntax highlighting
filetype on " Enable filetype detection
filetype indent on " Enable filetype-specific indenting
filetype plugin on " Enable filetype-specific plugins
Then save and close the file, quit the terminal and then restart it.
EDIT: those are tabs after the words (before the quotation marks) but the stupid forum software truncated the lines.
05-12-2005, 01:19 AM #8zero17GuestOriginally Posted by meltbanana314
05-17-2005, 06:50 PM #9
Originally Posted by meltbanana314
- Member Since
- Feb 09, 2005
- Soon to be DFW
- MacBook Pro 13" | MacBook Pro 13" | Mac Mini 2GHz C2D
06-01-2005, 11:55 AM #10zero17GuestOriginally Posted by fearlessfreap24
then type the things.. then quit and save it
press esc : wq
wq for write and quit
06-02-2005, 12:04 AM #11
This is so nice to know - thanks meltbanana314
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By gmark99 in forum OS X - Operating SystemReplies: 4Last Post: 11-06-2014, 07:28 PM
By Maat in forum OS X - Development and DarwinReplies: 11Last Post: 02-23-2012, 06:19 PM
By is-1-prime? in forum OS X - Apps and GamesReplies: 2Last Post: 01-11-2010, 02:20 AM
By tmallen in forum OS X - Apps and GamesReplies: 0Last Post: 11-05-2008, 10:13 AM
By boletje in forum Switcher HangoutReplies: 2Last Post: 02-27-2007, 10:57 PM