excellent trick! (as usual)
thanks a lot!
On 6/5/06, Tim Chase <[EMAIL PROTECTED]> wrote:
> and how do I do if I want it to be case insensitive ?
> ie I want to detect "Warning" "WARNING" "warning"
:help expr-=~?
set foldmethod=expr foldexpr=getline(v:lnum)=~?'warning'?0:1
I also trie
> From: Benjamin Esham [mailto:[EMAIL PROTECTED]
> Sent: 03 June 2006 05:41
> To: Yakov Lerner
> Cc: vim@vim.org
> Subject: Re: MatchParen unreadable on dark backgrounds
>
> Yakov Lerner wrote:
>
> > Georg Dahn wrote:
> >
> >> This depends on the color scheme you are using. If the maintainer
> >
Georg Dahn wrote:
>> I use dark backgrounds (and therefore a light coloured foreground
>> colour).
>> As a consequence the new MatchParen highlight that is enabled
>> by default in vim 7 is unreadable/annoying.
>> I need to put the following in my ~/.vimrc to fix it:
>>
>> highlight MatchParen cter
Pádraig Brady wrote:
Georg Dahn wrote:
I use dark backgrounds (and therefore a light coloured foreground
colour).
As a consequence the new MatchParen highlight that is enabled
by default in vim 7 is unreadable/annoying.
I need to put the following in my ~/.vimrc to fix it:
highlight MatchPar
Hello!
I just installed the dbext.vim script as it's features really sound nice to me.
Unfortunately i fail yet at the database connection dialogs.
When running the :DBPromptForBufferParameters command i get following error
messages:
--
Please choose # of database type:
0. None
1. AS
Zdenek Sekera wrote:
Benjamin Esham wrote:
Biogoo (http://vim.sourceforge.net/scripts/script.php?script_id=432)
defines these groups. It's quite a nice combination of
colors, if I do say so myself ;-)
Too bad that the "screen shot" in the above URL has
invalid link problem.
Fixed. Than
Did you try using the Pippo() function from foo.vim , as I
suggested in my previous post?
http://www.vim.org/script.php?script_id=72
HTH --Benji Fisher
On Thu, Jun 01, 2006 at 10:13:22AM +0530, SHANKAR R-R66203 wrote:
> This is assuming that the each line
On Mon, Jun 05, 2006 at 08:31:41PM -0400, Thomas Schumm wrote:
> On Monday 05 June 2006 08:01 pm, you wrote:
> > So the question is: what have you been doing with
> > $VIMRUNTIME/syntax/css.vim ?
>
> Nothing, unless my distro has been doing it behind my back. The only
> modifications I've made t
Hello,
thank you for you help. But to be more precious I want to have a list of that
directory like
mylist[0] = file1.cpp,v
mylist[1] = file2.cpp,v
...
I want to feed that list to my own vim function, which displays the log, check
out by,...
Best Regards
Stefan
-Original Message-
F
On 6/6/06, Mueller Stefan <[EMAIL PROTECTED]> wrote:
Hello,
thank you for you help. But to be more precious I want to have a list of that
directory like
mylist[0] = file1.cpp,v
mylist[1] = file2.cpp,v
...
I want to feed that list to my own vim function, which displays the log, check
out by,...
Hello List,
let's say i've got a ssh daemon and want to connect it using scp:// in
vim, i just get an error message that the hostname does not exist if i
do the following:
:e scp://[EMAIL PROTECTED]:/home/mh/foobar.txt
Any hints for me where syntax could be wrong?
using vim 7.0 by the way.
> -Original Message-
> From: Matthias Pitzl [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 06, 2006 8:37 AM
> To: vim@vim.org
> Subject: Script dbext.vim no longer working with Vim 7.x?
>
> Hello!
>
> I just installed the dbext.vim script as it's features really
> sound nice to me.
Hi Eric, et al.,
Please see my comments below.
On Fri, Jun 02, 2006 at 04:50 PM PDT, Eric Arnold wrote:
EA> On 6/2/06, Mun Johl <[EMAIL PROTECTED]> wrote:
... Text Deleted ...
EA> Sorry. I meant
EA>
EA> :call feedkeys( "/3\", "t")
This executes fine. I can substitute any text for the "3" an
I would like to match all "options" that start with a hyphen like:
-one
-two
-fish
-blue
-text
-pad
So all those would be a match from the "-" to the end of the word.
:Robert
I would like to match all "options" that start with a hyphen like:
-one
-two
So all those would be a match from the "-" to the end of the word.
Looks like a simple
/\<-\w\+\>/
It makes some presumptions where your description falls silent.
What constitutes a "word" for you? The vim
Tim Chase wrote:
I would like to match all "options" that start with a hyphen like:
-one
-two
So all those would be a match from the "-" to the end of the word.
Looks like a simple
/\<-\w\+\>/
It makes some presumptions where your description falls silent. What
constitutes a "word" for
Robert Hicks wrote:
Tim Chase wrote:
I would like to match all "options" that start with a hyphen like:
-one
-two
So all those would be a match from the "-" to the end of the word.
Looks like a simple
/\<-\w\+\>/
It makes some presumptions where your description falls silent. What
con
Eric Arnold wrote:
Real close. Turns out I think I want:
/\<\%[directory]\{1,}\>/
I suspect you want
/\/
but it doesn't seem to recognize \{1,} and without the \< it seems to
be matching white space. The problem with \< is that it doesn't
seem to allow \<\%[.directory]
What I'm a
Eric Arnold wrote:
Real close. Turns out I think I want:
/\<\%[directory]\{1,}\>/
I suspect you want
/\/
Regards,
Chip Campbell
Hi,
I have a long list of city names (more than 2,000 of them) in a file, each
name on a separate line. I'd like to modify each line so that:
ABERFOYLE
.
.
ZURICH
Becomes:
cities[0] = "ABERFOYLE"
.
.
cities[2039] = "ZURICH"
Is there a way I could issue a command (or some commands) and achieve
Robert Hicks wrote:
A word can be anything really, so it would be from "-" to the end.
So something like:
syn match MyVarOption "\<-\w\+\>"
Unless - is part of normal keyword characters (see :he 'iskeyword'), the
\<- isn't going to help.
Probably you want
syn match MyVarOption "\%(\s\|^\
On 2006-06-06, Salman Mohsin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a long list of city names (more than 2,000 of them) in a file, each
> name on a separate line. I'd like to modify each line so that:
>
> ABERFOYLE
> .
> .
> ZURICH
>
> Becomes:
>
> cities[0] = "ABERFOYLE"
> .
> .
> cities[
On Tue, 6 Jun 2006, Gary Johnson wrote:
On 2006-06-06, Salman Mohsin <[EMAIL PROTECTED]> wrote:
Hi,
I have a long list of city names (more than 2,000 of them) in a file, each
name on a separate line. I'd like to modify each line so that:
ABERFOYLE
.
.
ZURICH
Becomes:
cities[0] = "ABERFOYLE"
Salman Mohsin wrote:
I have a long list of city names (more than 2,000 of them) in a file, each
name on a separate line. I'd like to modify each line so that:
ABERFOYLE
.
.
ZURICH
Becomes:
cities[0] = "ABERFOYLE"
.
.
cities[2039] = "ZURICH"
Is there a way I could issue a command (or some com
On 6/6/06, Martin Hauser <[EMAIL PROTECTED]> wrote:
Hello List,
let's say i've got a ssh daemon and want to connect it using scp:// in
vim, i just get an error message that the hostname does not exist if i
do the following:
:e scp://[EMAIL PROTECTED]:/home/mh/foobar.txt
The right syntax s
I am wondering if there is any way to get the tab completion of a
command to open a new file to complete any file in the path, not just
those in the current working directory. Basically, my path variable is:
path=.,c:\...\source,c:\...\source**
and I would like to be able to enter
:sf behavior_f
On Tue, 6 Jun 2006, Charles E Campbell Jr wrote:
Salman Mohsin wrote:
I have a long list of city names (more than 2,000 of them) in a file, each
name on a separate line. I'd like to modify each line so that:
ABERFOYLE
.
.
ZURICH
Becomes:
cities[0] = "ABERFOYLE"
.
.
cities[2039] = "ZURICH"
Charles E Campbell Jr wrote:
Robert Hicks wrote:
A word can be anything really, so it would be from "-" to the end.
So something like:
syn match MyVarOption "\<-\w\+\>"
Unless - is part of normal keyword characters (see :he 'iskeyword'), the
\<- isn't going to help.
Probably you want
sy
On Tue, 6 Jun 2006, Max Dyckhoff wrote:
I am wondering if there is any way to get the tab completion of a
command to open a new file to complete any file in the path, not just
those in the current working directory. Basically, my path variable is:
path=.,c:\...\source,c:\...\source**
and I wou
Thanks Gerald. I'm not familiar with globpath although a quick :help
taught me all I needed to know. A quick poke shows that it works rather
nicely; if a bit slowly, we have around 100 first level directories in
source, each of which has 20-100 files and sub directories (although
thankfully not man
I am trying to use the new vim7 "object-based" features and am stuck
with an issue in using autoload style variables. Save the below as t.vim
in your autoload directory and execute it (:runtime autoload/t.vim).
let t#var = 'something'
let s:hash = {}
function! s:hash.func()
echomsg 'from
>After taking a couple of helpful hints from Eric, and doing a bunch of
>experiments, I have isolated some odd behavior to 'laststatus'.
>As a reminder, this issue only shows up when I compile vim7 using GTK-1;
>it does not occur when I compile with Motif or GTK-2. My system is a
>Sun workstation
On Mon, Jun 05, 2006 at 03:11:08AM EDT, A.J.Mechelynck wrote:
> cga2000 wrote:
[..]
>
> Well, here I am a "comparatively new" user of SuSE Linux, and I found it
> remarkably easy to compile Vim 7 on it. If you decide you want to try
> your hand at it,
I was contemplating switching to gentoo a
Charles E Campbell Jr wrote:
Robert Hicks wrote:
A word can be anything really, so it would be from "-" to the end.
So something like:
syn match MyVarOption "\<-\w\+\>"
Unless - is part of normal keyword characters (see :he 'iskeyword'), the
\<- isn't going to help.
Probably you want
sy
On Mon, Jun 05, 2006 at 05:22:44PM EDT, Marvin Renich wrote:
> * A.J.Mechelynck <[EMAIL PROTECTED]> [060605 03:04]:
> > cga2000 wrote:
[..]
>
> Compiling is not hard, but there are already Debian packages with Vim
> 7.0, so you can simply install them (they may not be quite as up-to-date
> as the
Christian MICHON wrote:
Hi vimmers,
I would like to fold all lines not containing a keyword like
'warning'. Basically, I want to be able to open a file,
apply this filter and immediately see all warnings
related in my file.
Is there a one-liner way to do this? or must I do a
specific syntax fo
Hi,
So you want something like:
" highlight all var options using this match
syntax match allVarOptions "\%(\s\|^\)\zs-\w\+"
" highlight the keywords within allVarOptions:
" note: because '-' is an iskeyword character, you have to
" use a match instead.
syntax match allVarOptionKeywo
On Tue, 6 Jun 2006, Max Dyckhoff wrote:
-Original Message-
From: Gerald Lai [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 2:40 PM
To: Max Dyckhoff
Cc: vim org
Subject: Re: Tab complete filenames
On Tue, 6 Jun 2006, Max Dyckhoff wrote:
I am wondering if there is any way to get
Hi Gene, et al.,
Please see my comments below.
On Tue, Jun 06, 2006 at 03:49 PM PDT, Gene Kwiecinski wrote:
... Text Deleted ...
GK> >Here's a sample of what I get when I type each letter in the English
GK> >alphabet twice in a row (e.g.: aabbccddeeff...):
GK>
GK> >abbcdeffgghijjkklmmnopqqrßtu
Hi all,
I have a important file that I set a encrypt key last year... But I
forgot the key, but I need to read the file... any way to do that? I'm
using vim 6.4
Thank you,
Leandro
Hi,
Hari Krishna Dara wrote:
>
> I am trying to use the new vim7 "object-based" features and am stuck
> with an issue in using autoload style variables. Save the below as t.vim
> in your autoload directory and execute it (:runtime autoload/t.vim).
>
> let t#var = 'something'
>
> let s:hash = {}
41 matches
Mail list logo