LinHES Forums http://forums.linhes.org/ |
|
Changing context sensitive text color http://forums.linhes.org/viewtopic.php?f=5&t=3354 |
Page 1 of 1 |
Author: | Dinki [ Thu Jan 27, 2005 3:14 pm ] |
Post subject: | Changing context sensitive text color |
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. |
Author: | tjc [ Thu Jan 27, 2005 8:11 pm ] |
Post subject: | |
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. |
Author: | Dinki [ Fri Jan 28, 2005 4:13 pm ] |
Post subject: | |
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... |
Author: | tjc [ Sat Jan 29, 2005 12:34 am ] |
Post subject: | |
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 |
Author: | Xsecrets [ Sat Jan 29, 2005 10:06 am ] |
Post subject: | |
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. |
Author: | tjc [ Sun Jan 30, 2005 10:25 am ] |
Post subject: | |
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" |
Author: | Xsecrets [ Sun Jan 30, 2005 11:31 am ] |
Post subject: | |
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. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |