subrama6 wrote:
i'm somewhat new to vim, and particularly new to making my own syntax file,
so please forgive me if this is a dumb question :) basically, i'm using vim
to keep a GTD style todo list, with various tasks tagged by context. the
format of the file is as follows:
@vim @syntax :
, such as the
conaryrecipe
syntax currently being discussed on vim-dev.
Best regards,
Tony.
--
Government lies, and newspapers lie, but in a democracy they are
different lies.
--
View this message in context:
http://www.nabble.com/syntax---multiple-colors-in-same-string-tf3653839.html
subrama6 wrote:
that works well - i couldn't quite figure out what the 'contains' and
'contained' keywords were for just from the help files, so thanks much :)
thanks also for the tip about the naming convention - i've amended my syntax
file accordingly.
[...]
Well, picture these syntax
in context:
http://www.nabble.com/syntax---multiple-colors-in-same-string-tf3653839.html#a10207707
Sent from the Vim - General mailing list archive at Nabble.com.
will use the default.
--
Sincerely, Pan, Shi Zhu. ext: 2606
To edit a colorscheme, first copy it under a different name into
$HOME/.vim/colors (on Unix) or $HOME/vimfiles/colors (in Vim notation, for
Windows). Any changes you make in the directory tree starting at $VIMRUNTIME
may
fREW wrote:
Is there a way to change the completion menu colors?
Sure - see http://vim.sourceforge.net/scripts/script.php?script_id=1081
which both displays the current colors in whatever colorscheme you're using,
plus provides a colorscheme editor (just rightmouse click on a color
Hi all,
Is there a way to change the completion menu colors?
-fREW
Is there a way to change the completion menu colors?
See:
:help hl-Pmenu
:help hl-PmenuSel
:help hl-Pmenu-Sbar
:help hl-PmenuThumb
For example:
:highlight Pmenu guibg=DarkRed
cheers
--- fREW [EMAIL PROTECTED] wrote:
Hi all,
Is there a way to change the completion menu colors?
Change the highlighting options for the Pmenu* highlight groups:
:hi Pmenu ctermfg=Cyanctermbg=Blue cterm=None guifg=Cyan
guibg=DarkBlue
:hi PmenuSel ctermfg=White ctermbg=Blue
On 4/2/07, Peter Hodge [EMAIL PROTECTED] wrote:
--- fREW [EMAIL PROTECTED] wrote:
Hi all,
Is there a way to change the completion menu colors?
Change the highlighting options for the Pmenu* highlight groups:
:hi Pmenu ctermfg=Cyanctermbg=Blue cterm=None guifg=Cyan
guibg=DarkBlue
fREW [EMAIL PROTECTED] 写于 2007-04-03 10:56:11:
Are these things that should be set in the colorschemes, but just
aren't yet because the names are new, or what?
-fREW
This should be set in colorscheme, however, if you're using the default
colorschme it is buit-in with Vim and you cannot
Hi all!
In color xterm color 1 for is #0c (red), but in dos32 it is #0c
(blue). (Strictly speaking, VGA standard palette is different, but xterm
colors are good enough approximation in practice). This makes very hard
to write portable scripts dealing with colors. Does a better way
Hi all :))
I've noticed something weird regarding IncSearch and I don't know if
the problem is that I've set up my colors badly or that just I don't
understand how the highlight command works. My terminal is 8 colors.
If I set my IncSearch highlight group to something like
I moved to gvim from vim recently and there is an issue that is
bugging me. When i did a make in vim I was able to see the output of
the make program in color. In gvim, I see the control sequences for
the colors printed out and no colors. Is there a way I can resolve
this?
-jacob
Thanks Tony and Brady. I got sufficient answers.
Happy vimming,
Ben K.
Developer
http://benix.tamu.edu
in different
colors, you can use the :match and :2match commands. These are all I can
think of.
see
:help :nohlsearch
:help :match
:help :2match
Best regards,
Tony.
On Tue, 26 Sep 2006 10:16:22 -0400
Benji Fisher [EMAIL PROTECTED] wrote:
On Tue, Sep 26, 2006 at 12:27:39AM -0500, Brian Lewis wrote:
I'm editing a file and open a preview window. When I search
with /, I'd like the main window to show highlighted matches, but
for the preview window not to.
On Tue, Sep 26, 2006 at 12:27:39AM -0500, Brian Lewis wrote:
I'm editing a file and open a preview window. When I search with /, I'd
like the main window to show highlighted matches, but for the preview
window not to.
nohlsearch seems to be global, so I can't :setl nohlsearch in the
preview
On 9/26/06, Brian Lewis [EMAIL PROTECTED] wrote:
On Tue, 26 Sep 2006 10:16:22 -0400
Benji Fisher [EMAIL PROTECTED] wrote:
On Tue, Sep 26, 2006 at 12:27:39AM -0500, Brian Lewis wrote:
I'm editing a file and open a preview window. When I search
with /, I'd like the main window to show
I'm editing a file and open a preview window. When I search with /, I'd
like the main window to show highlighted matches, but for the preview
window not to.
nohlsearch seems to be global, so I can't :setl nohlsearch in the
preview window to get what I want.
Maybe there's a way to modify color
Peter Hodge wrote:
Hello,
I am just curious as to why after/colors/ scripts are disabled instead of
behaving like after/ftplugin and after/syntax scripts?
regards,
Peter
I'm not sure if it's a bug or a feature, but
:colorscheme foobar
works like
:runtime colors/foobar.vim
On 8/21/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Peter Hodge wrote:
Hello,
I am just curious as to why after/colors/ scripts are disabled instead of
behaving like after/ftplugin and after/syntax scripts?
regards,
Peter
I'm not sure if it's a bug or a feature, but
Every bug
If you find the syntax file for Vim 6.4, and put it into your own .vim
directory, you may get the colors before.
If you want to change it, just copy the syntax file into your own .vim
directory and edit it.
--
Sincerely, Pan, Shi Zhu. ext: 2606
Bill Hollingsworth [EMAIL PROTECTED] wrote
for my PERL
programs are different. I liked the way the colors were before.
Could someone tell me how to return to the old settings, or how to
set the colors myself?
For instance, now comments and variable names are the same color.
Thanks and best wishes,
Bill Hollingsworth
University
Marshall Abrams wrote:
As a devotee of vim, I want to put in a vote for trying to make new
releases violate fewer rather than more of existing users' assumptions
(although I know that there are always tradeoffs).
Why should the default color scheme suddenly change when one upgrades?
(Hmm
On Jul 18, 2006, at 2:33 PM, A.J.Mechelynck wrote:
Marshall Abrams wrote:
As a devotee of vim, I want to put in a vote for trying to make new
releases violate fewer rather than more of existing users'
assumptions (although I know that there are always tradeoffs).
Why should the default color
that was there as a
default.
Now that the colors have change in a bad way (e.g. PERL comments are the same
color as PERL variables) I do not have time to invest in learning how to
program a new color scheme. My only solution right now is to try to uninstall
VIM and reinstall the old version.
For future
, under the 'Syntax Highlighting Groups' section. Add something
like this to your ~/.vimrc
change default colors for color terminal
highlight Comment ctermfg=Blue cterm=Underline
highlight Identifier ctermfg=Red cterm=Bold
change default colors for GUI
highlight Comment guifg=Blue gui
Peter Hodge [EMAIL PROTECTED] wrote on 2006.07.19 09:32:47:
I can see your point and it is concerning that the colour change is
enough to
force you to go back to Vim 6.4, but Bram (or any software package
author) must
reserve privileges to change things and make them the default, otherwise
Bill Hollingsworth wrote:
Hi,
I recently upgraded to VIM 7.0 and now the color settings for my PERL programs
are different. I liked the way the colors were before.
Could someone tell me how to return to the old settings, or how to set the
colors myself?
For instance, now comments
Using spell check in a terminal window hightlights some words with a
bright green background and white text. I find this hard to read (I'm
using a dark background and I have set background=dark in my .vimrc).
Is it possible to override the the spell check color scheme, and if
so, can someone
On 7/7/06, Chris Sutcliffe [EMAIL PROTECTED] wrote:
Using spell check in a terminal window hightlights some words with a
bright green background and white text. I find this hard to read (I'm
using a dark background and I have set background=dark in my .vimrc).
Is it possible to override the the
, and if
so, can someone please point me in the direction of what I need to
look at?
If you use the following plugin:
http://vim.sourceforge.net/scripts/script.php?script_id=1081
and then type
:help hicolors
you'll see each highlighting color name in its own colors. This list
includes
This is a basic question, but I still could not figure out how to do it:
I am unable to get colors for my vim editor on some of the cluster
machines in my university. Vim is using underlining and bold-font to
highlight language keywords and comments. How can I get vim to use
colors instead
Thanks for the quick help. Here are the answers to the checklist:
1. Your terminal emulator must support color.
- Does the terminal show colors for other applications?
Yes, it shows colors for 'ls -- color'
2. The TERM environment variable must be set to the type of
terminal
On 2006-04-14, Sorav Bansal [EMAIL PROTECTED] wrote:
Thanks for the quick help. Here are the answers to the checklist:
1. Your terminal emulator must support color.
- Does the terminal show colors for other applications?
Yes, it shows colors for 'ls -- color'
2. The TERM
Did you use a real escape character as noted just below the endif
in that :help entry, or did you use the five characters Esc?
Great! It worked! Thanks a ton!
Sorav
37 matches
Mail list logo