From: Pete Johns <[EMAIL PROTECTED]>
Subject: Re: Two """problems"""
Date: Fri, 15 Sep 2006 14:19:22 +1000
Hi Pete !
Thank you for "disassembling" the hex into mnemonics! :O)
One question remains in my head:
if /.\{73,}/ find all lines, for what is the "g" for?
I mean...more than finding th
Dear users!
I found, that Vim (7.0) jump on each comment in a program (python, perl,
C, java, etc...) to the beginning of the line, if I insert a '#' on a
inlined section. This Feature I don't want. Does anyone know where to
disable this feature and why this is the standard on so many prg-language
Vim 7.0.106
When I edit an HTML file and open the taglist plugin it correctly checks for
Javascript tags.
When I edit a PHP file, the taglist plugin gets only the PHP tags, when most
PHP pages would also have HTML and Javascript embedded within it.
Does anyone know if this is a feature of ctags
> -Original Message-
> From: David Fishburn [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 15, 2006 9:56 AM
> To: vim@vim.org
> Subject: Taglist and html vs php vs javascript
>
>
> Vim 7.0.106
>
> When I edit an HTML file and open the taglist plugin it
> correctly checks for Ja
Meino Christian Cramer wrote:
From: Pete Johns <[EMAIL PROTECTED]>
Subject: Re: Two """problems"""
Date: Fri, 15 Sep 2006 14:19:22 +1000
Hi Pete !
Thank you for "disassembling" the hex into mnemonics! :O)
One question remains in my head:
if /.\{73,}/ find all lines, for what is the "g" for
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: Two """problems"""
Date: Fri, 15 Sep 2006 16:54:02 +0200
> Meino Christian Cramer wrote:
> > From: Pete Johns <[EMAIL PROTECTED]>
> > Subject: Re: Two """problems"""
> > Date: Fri, 15 Sep 2006 14:19:22 +1000
> >
> > Hi Pete !
> >
> > Thank
I greatly appreciate the hlsearch option (to highlight the result of a
string search). What I would *really* like is the ability to search for
several strings (ok, two would do), and have them highlighted in
different colours (or even colors, for you Yanks out there). Eg I'd
like to search fo
Nikolaos A. Patsopoulos wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/14/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> Yakov Lerner wrote:
>> > On 9/14/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> >>
Tim Chase wrote:
To do an operation on multiple files in a WinXP DOS batch:
for %%A in (*.txt) do [command]
Just a small caveat to the reader, this works within a batch file by
escaping the variable ("%A" in this case). If you're running it from
the command-line, you don't escape it, and
Nikolaos A. Patsopoulos wrote:
A.J.Mechelynck wrote:
Nikolaos A. Patsopoulos wrote:
Hi,
another two questions:
1. I want to delete all text that has a specific pattern. I use the
following code with s command but I want to keep the \a character in
the beginning:
:%s/\a,\_.\{-}<\/td><\/tr>/
A.J.Mechelynck wrote:
Nikolaos A. Patsopoulos wrote:
A.J.Mechelynck wrote:
Nikolaos A. Patsopoulos wrote:
Hi,
another two questions:
1. I want to delete all text that has a specific pattern. I use the
following code with s command but I want to keep the \a character
in the beginning:
:%s/\
for %a in (*.txt) do [command using %a]
instead of
for %%a in (*.txt) do [command using %%a]
Then again, maybe I'm among the freakish few that actually use for-loops
at the dos-prompt. :)
-tim
I have used them too, starting (in my case) with Dos 3.1. Your warning
is valid on old D
Nikolaos A. Patsopoulos wrote:
A.J.Mechelynck wrote:
Nikolaos A. Patsopoulos wrote:
A.J.Mechelynck wrote:
Nikolaos A. Patsopoulos wrote:
Hi,
another two questions:
1. I want to delete all text that has a specific pattern. I use the
following code with s command but I want to keep the \a char
Bill Weir wrote:
I greatly appreciate the hlsearch option (to highlight the result of a
string search). What I would *really* like is the ability to search for
several strings (ok, two would do), and have them highlighted in
different colours (or even colors, for you Yanks out there). Eg I'd
To add an empty line at the end of the file
Go
or in a script
normal Go^[
where ^[ is "hit Ctrl-V" "hit Esc" (replace Ctrl-V by Ctrl-Q if you use
Ctrl-V to paste the clipboard)
Additionally, in a script, you can use
:$put =''
to add empty lines at the bottom of the
Tim Chase wrote:
for %a in (*.txt) do [command using %a]
instead of
for %%a in (*.txt) do [command using %%a]
Then again, maybe I'm among the freakish few that actually use
for-loops at the dos-prompt. :)
-tim
I have used them too, starting (in my case) with Dos 3.1. Your warning
From: Pete Johns <[EMAIL PROTECTED]>
Subject: Re: Two """problems"""
Date: Fri, 15 Sep 2006 14:19:22 +1000
...
Hi Pete,
...please check this with your genious vimly mind... :) <<<-- BIG smiley!
Your initial command set was:
1,$g/.\{73,}/normal v}gq
Which does -- if I understand co
Meino Christian Cramer wrote:
From: Pete Johns <[EMAIL PROTECTED]>
Subject: Re: Two """problems"""
Date: Fri, 15 Sep 2006 14:19:22 +1000
...
Hi Pete,
...please check this with your genious vimly mind... :) <<<-- BIG smiley!
Your initial command set was:
1,$g/.\{73,}/normal v}gq
Bill Weir wrote
>
> I greatly appreciate the hlsearch option (to highlight the
> result of a string search). What I would *really* like is
> the ability to search for several strings (ok, two would do),
> and have them highlighted in different colours (or even
> colors, for you Yanks out the
I was expectig the normal mode command d_ (without count) to delete from the
cursor position to the beginning of the line, but it seems to delete the
entire line, i.e. even words /after/ the cursor.
Is this really the correct behavior?
I was expectig the normal mode command d_ (without count) to delete from the
cursor position to the beginning of the line, but it seems to delete the
entire line, i.e. even words /after/ the cursor.
Is this really the correct behavior?
Yes, as
:help _
details, the "_" motion is line
Stefan Karlsson wrote:
I was expectig the normal mode command d_ (without count) to delete from the
cursor position to the beginning of the line, but it seems to delete the
entire line, i.e. even words /after/ the cursor.
d0 in Normal mode does what you want to do.
Is this really the correct
Stefan Karlsson wrote:
I was expectig the normal mode command d_ (without count) to delete from the
cursor position to the beginning of the line, but it seems to delete the
entire line, i.e. even words /after/ the cursor.
Is this really the correct behavior?
from ":help _"
> >
> > Is this really the correct behavior?
>
> Yes, as
>
> :help _
>
> details, the "_" motion is linewise which will produce the
> behavior you describe...the equiv. of "dd".
>
> You can either force it to be character-wise:
>
> dv_
>
> or you can use
>
> d^
>
> which will, wit
On Fri, 2006-09-15 at 20:20:58 +0200, A.J.Mechelynck sent:
>You could simply do
>
>:%g/.{73,}/normal gqq
>
>see "help gqq"
>
>This would of course keep the hard line break (if there is one)
>between ...Very Very Very and Very Very Very long line. You
>can't have it both ways.
>
Indeed. The alternat
Hi,
I tried to remap several Alt-/Meta- key sequences to other and to
commands. Sometimes it works, sometimes it does not. I see no logic
behind this behaviour. It seems, that I miss certain informations hot
to do this the right way.
My terminal emits Meta- and Alt- keysequences in binary f
Meino Christian Cramer wrote:
Hi,
I tried to remap several Alt-/Meta- key sequences to other and to
commands. Sometimes it works, sometimes it does not. I see no logic
behind this behaviour. It seems, that I miss certain informations hot
to do this the right way.
My terminal emits Meta- a
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: (Re.)mapping of the so called Meta- (Alt-) keys
Date: Sat, 16 Sep 2006 07:47:04 +0200
> Meino Christian Cramer wrote:
> > Hi,
> >
> > I tried to remap several Alt-/Meta- key sequences to other and to
> > commands. Sometimes it works, somet
28 matches
Mail list logo