LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-04-2006, 11:51 AM   #1
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
How to make own highlight scheme in vim?


That's the question.
Thanks.
 
Old 01-04-2006, 12:27 PM   #2
sirclif
Member
 
Registered: Sep 2004
Location: south texas
Distribution: fedora core 3,4; gentoo
Posts: 192

Rep: Reputation: 30
http://www.google.com/search?hl=en&q...hlighting+file?
 
Old 01-04-2006, 08:39 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,739

Rep: Reputation: 298Reputation: 298Reputation: 298
choose a vim color scheme from /usr/share/vim/vim63/colors. copy it to a new name, and edit to suit your needs.

then create a file called ~/.vim/.vimrc, and add these lines:
syntax on
:colorscheme <yourfile> (without the .vim extension).

or, to make it global, edit /etc/vimrc to include those options.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make a tab is 4 spaces width in vim? ICO Suse/Novell 8 03-05-2013 10:24 AM
vim syntax highlight fails after debian upgrade darknails Linux - Software 7 05-19-2009 04:11 AM
How to make vim has syntax highlighting ICO Linux - General 4 01-05-2004 10:35 AM
help w/ Vim :make leb01002 Linux - Software 1 11-12-2003 12:07 PM
how make emacs highlight ? black Linux - Software 2 09-29-2002 01:11 AM


All times are GMT -5. The time now is 10:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration