View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jan 27, 2005 3:14 pm 
Offline
Joined: Fri Dec 26, 2003 2:25 pm
Posts: 244
I'm trying to find out how to change the context sensitive text coloring scheme that comes up when I edit scripts/code/etc in vi. The problem I am having is that I use xterms with black backgrounds. The 'comment' coloring is a fairly dark blue. Blue on black does not show up well.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 27, 2005 8:11 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Check out /usr/share/vim/vim61/colors/README.txt

I basically just ran:
Code:
locate vim | more
and looked for anything interesting.

OBTW - I'm utterly in sympathy. I see way too many coloir schemes where somebody has created a low contrast botch like that.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 28, 2005 4:13 pm 
Offline
Joined: Fri Dec 26, 2003 2:25 pm
Posts: 244
Hmm. I'm using standard 'vi', not 'vim' .. I thought they were seperate entities. I'll take a look at the vim color files. Thanks for the help...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 29, 2005 12:34 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Nope, they're one and the same.

Code:
[root@black:/myth/tv # vi --version
VIM - Vi IMproved 6.1 (2002 Mar 24, compiled Feb  8 2003 12:40:35)
Included patches: 1-320
Compiled by Luca Filipozzi <lfilipoz@debian.org>
Normal version without GUI.  Features included (+) or not (-):
+autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv -cscope +dialog_con +diff +digraphs -ebcdic -emacs_tags +eval +ex_extra
+extra_search -farsi +file_in_path +find_in_path +folding -footer +fork()
+gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap
+libcall +linebreak +lispindent +listcmds +localmap +menu +mksession
+modify_fname +mouse -mouseshape -mouse_dec +mouse_gpm -mouse_jsbterm
-mouse_netterm +mouse_xterm +multi_byte +multi_lang -osfiletype +path_extra
-perl +postscript +printer -python +quickfix -rightleft -ruby +scrollbind
-signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
-toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim
-xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -DFEAT_LANGMAP -DFEAT_KEYMAP -DAUTOCMD -DWANT_EVAL -DWANT_MODIFY_FNAME
Linking: gcc   -L/usr/local/lib -o vim       -lncurses  -lgpm -ldl


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 29, 2005 10:06 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
Well you are both right. they are seperate, but on debian when you install vim it symlinks it back to vi. I assure you they are different though, because you can only install vi and not vim, and you notice the difference right away.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 30, 2005 10:25 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Yeah, but he was talking about syntax hilighting, which no self respecting hair shirt "real" vi does, at least not that I know of. ;-)

"Vi, it's not an editor it's an attitude"


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 30, 2005 11:31 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
yeah I knew that you would know that tjc, the explanation was more for his benefit to know that vim is indeed called by the vi command once it's installed, at least on debian based systems.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu