Hi Jeri!
On Di, 07 Jul 2009, Jeri Raye wrote:
>
> On 7/6/09, Ben Fritz wrote:
> >
> > vim -c "if getline(1)=~'\v^\W*\w+%(\W+\w+)+\W*$' | source myscript.vim
> > | endif" memfile.psm
> >
>
> How do I change the line, given by Ben Fritz, so that I can add an
> else where it says exit vim
untes
On 7/6/09, Ben Fritz wrote:
[...]
> > I want to let vim execute this myscript.vim only when the first line
> > of the memfile.psm file contains more then one word.
> > Otherwise it should do nothing,
>
> vim -c "if getline(1)=~'\v^\W*\w+%(\W+\w+)+\W*$' | source myscript.vim
> | endif" memfile.psm
Saluton Charles :)
Charles Campbell dixit:
>>> Essentially Raúl Núñez de Arenas Coronado's
>>
>> Not even I would wrote my full name, way too tiring for the fingers
>> XD
>>
> Actually, I used the mouse.
I supposed that, or at least yank+paste ;)
> Also, not being familiar with all the culture
Saluton Christian :)
Christian Brabandt dixit:
> On Mo, 06 Jul 2009, Raúl Núñez de Arenas Coronado wrote:
>
>> I swear I saw once an option to fix this kind of things, but I
>> cannot remember. Looks like Charles Campbell has updated the
>> conversation while I was replying, so he may be of help
On 04/07/09 22:17, Matt Wozniski wrote:
[...]
> I believe this is the first time you mentioned that you were using the
> console, and not a GUI. :) But, that said - note that the console is
> still considered a terminal emulator; pretty much anything but a
> *real* vt220 teletype is. Many have
On Mon, Jul 06, 2009 at 02:00:36PM -0700, Ben Fritz wrote:
> > That did it! I set synmaxcol=0 and now everything seems to work properly.
> > I was thinking there might be an issue as in several LONG lines of a
> > element, the syntax coloring was getting confused.
> > Thanks again
>
> I'm g
On Thu, Jul 2, 2009 at 11:11 PM, bgold12 wrote:
>
> I've found that when I type "gvim a" from the command line, I get a
> message in the status line after gvim has started up that gives some
> info about the file a. For example, if the file doesn't exist, it says
> ""a" [New File]"; if the file d
Mr.SpOOn wrote:
> Hi,
> sometimes I edit files on a server using Vim with netrw. This works
> fine, but at some point I find myself editing a temp file in a local
> /tmp directory instead of the same file on the server. This happens
> often when I use the ftp protocol. Usin ssh, via scp:// things
On 03/07/09 08:11, bgold12 wrote:
>
> I've found that when I type "gvim a" from the command line, I get a
> message in the status line after gvim has started up that gives some
> info about the file a. For example, if the file doesn't exist, it says
> ""a" [New File]"; if the file does exist but i
On 02/07/09 21:34, David Lehmann wrote:
> Hello,
>
> After untarring the vim7.2 package and running configure, I get the
> following error on Solaris 10. Can anyone help? Thanks.
>
> % make
>
> CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/us
On Jul 6, 2:32 pm, russurquha...@verizon.net wrote:
> That did it! I set synmaxcol=0 and now everything seems to work properly.
> I was thinking there might be an issue as in several LONG lines of a
> element, the syntax coloring was getting confused.
> Thanks again
I'm glad we were able
Raúl Núñez de Arenas Coronado wrote:
> Saluton Charles :)
>
> Charles Campbell dixit:
>
>> Raúl Núñez de Arenas Coronado wrote:
>>
>>> Blind shot, from ":help syntax":
>>>
>>> :syntax sync fromstart
>>> :syntax syng minlines=
>>>
>> Essentially Raúl Núñez de Arenas Coronado's
>>
That did it! I set synmaxcol=0 and now everything seems to work properly.I was thinking there might be an issue as in several LONG lines of a element, the syntax coloring was getting confused.Thanks againRussJul 6, 2009 07:14:01 PM, vim_use@googlegroups.com wrote:Hi Raúl!On Mo, 06 Jul 2009,
Ben Fritz wrote:
> :help quickfix
>
> Read the whole help file, but specifically, within this file:
> :help :make
> :help :copen
> :help :cnext
---
That was it! Thanks!
linda
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
Fo
Hi Raúl!
On Mo, 06 Jul 2009, Raúl Núñez de Arenas Coronado wrote:
> I swear I saw once an option to fix this kind of things, but I
> cannot remember. Looks like Charles Campbell has updated the
> conversation while I was replying, so he may be of help.
:h 'synmaxcol'
regards,
Christian
--
:
Saluton :)
dixit:
> Looking at this, and trying both
> :syntax sync fromstart
>
> and
>
> :syntax sync minilines=61000
>
> (the number of lines in the file. That should be enough, right?)
>
> No change?
Then I'm lost, sorry O:)
--
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered Use
Saluton Charles :)
Charles Campbell dixit:
> Raúl Núñez de Arenas Coronado wrote:
>> Blind shot, from ":help syntax":
>>
>> :syntax sync fromstart
>> :syntax syng minlines=
> Essentially Raúl Núñez de Arenas Coronado's
Not even I would wrote my full name, way too tiring for the fingers XD
> he
Hi Jeri!
On Mo, 06 Jul 2009, Jeri Raye wrote:
> map :%s/\/RETURN/g
> \:%s/\/RETURNI/g
> \:%s/\/ADDCY/g
> \:%s/\/SUBCY/g
[…]
> How can I make it so that it doesn't give an error when it doens't
> find one of the given search items?
Add the e flag (see :h :s_flags) to eac
Jeri Raye wrote:
> Hi,
>
> I have a mapping like below.
>
>
> map :%s/\/RETURN/g
> \:%s/\/RETURNI/g
> \:%s/\/ADDCY/g
> \:%s/\/SUBCY/g
>
> It does several S&R.
> But when it doesn't find something it gives an E486: Pattern not found.
> Why?
> How can I make it so that it do
> map :%s/\/RETURN/g
> \:%s/\/RETURNI/g
> \:%s/\/ADDCY/g
> \:%s/\/SUBCY/g
>
> It does several S&R.
> But when it doesn't find something it gives an E486: Pattern not found.
> Why?
> How can I make it so that it doesn't give an error when it doens't
> find one of the given
Hi,
I have a mapping like below.
map :%s/\/RETURN/g
\:%s/\/RETURNI/g
\:%s/\/ADDCY/g
\:%s/\/SUBCY/g
It does several S&R.
But when it doesn't find something it gives an E486: Pattern not found.
Why?
How can I make it so that it doesn't give an error when it doens't
find
Looking at this, and trying both :syntax sync fromstart and:syntax sync minilines=61000(the number of lines in the file. That should be enough, right?)No change? After i did these commands, i did a :e to get the syntax folding restarted. (That was the right thing to do, right?)Thanks,RussJul 6, 2
Raúl Núñez de Arenas Coronado wrote:
> Saluton :)
>
> dixit:
>
>> My xml files are of a form:
>>
>> ...
>>
>> When i did the syntax folding on a sample, albeit large (1.8 Mb) xml
>> file, the closing tag seems to be folded in the
>> fold. Everything, however, works when i try this on a
Saluton :)
dixit:
> My xml files are of a form:
>
> ...
>
> When i did the syntax folding on a sample, albeit large (1.8 Mb) xml
> file, the closing tag seems to be folded in the
> fold. Everything, however, works when i try this on a
> smaller sample file. Is there something about the xm
russurquha...@verizon.net wrote:
>
> Hi,
>
> Thanks first Ben Fritz for the help on using syntax folding for
> folding my xml files! That seems to work, except i think i have a problem.
>
> My xml files are of a form:
>
>
>
> ...
>
>
>
> When i did the syntax folding on a sample, albeit large
Hi,
Thanks first Ben Fritz for the help on using syntax folding for folding
my xml files! That seems to work, except i think i have a problem.
My xml files are of a form:
...
When i did the syntax folding on a sample, albeit large (1.8 Mb) xml
file, the closing tag seems to be folded in
Efraim Yawitz schrieb:
> On Mon, Jul 6, 2009 at 5:46 PM, Andy Wokula wrote:
>
>> This works for me:
>>
>> :g/abc/inser...@line1\^@Line2
>>
>> where ^@ is one character inserted with CTRL-V_CTRL-J or CTRL-K_N_U etc.
>
> Right, that works fine, but is that what the help means?
I'm not sure, but
>> This works for me:
>>
>> :g/abc/inser...@line1\^@Line2
>>
>> where ^@ is one character inserted with CTRL-V_CTRL-J or CTRL-K_N_U etc.
>
> Right, that works fine, but is that what the help means?
The help _does_ seem to suggest that one can type
1) colon
2) g
3) slash
4) regexp
5) s
On Mon, Jul 6, 2009 at 5:46 PM, Andy Wokula wrote:
>
> This works for me:
>
> :g/abc/inser...@line1\^@Line2
>
> where ^@ is one character inserted with CTRL-V_CTRL-J or CTRL-K_N_U etc.
>
Right, that works fine, but is that what the help means?
--~--~-~--~~~---~--~---
Efraim Yawitz schrieb:
> Anybody have anything more on this? Bram? Is it really a bug?
Hmm, using a trailing backslash for line continuation is a
very special thing added in Vim7:
:h version7
- When ":append", ":insert" or ":change" is used with ":global", get the
inserted lines from the comma
On Jul 4, 2:46 pm, Russell Urquhart wrote:
> I think i figured this out. The xfa> command assumes the closing '>' is
> across a line boundary. As i am on an opening '<' the closing one is
> within the same line, so nothing happens.
>
> So, i guess my question then would be, is there a way to co
On Jul 4, 2:46 pm, Russell Urquhart wrote:
> I think i figured this out. The xfa> command assumes the closing '>' is
> across a line boundary. As i am on an opening '<' the closing one is
> within the same line, so nothing happens.
>
> So, i guess my question then would be, is there a way to co
On Jul 4, 2:03 am, Jeri Raye wrote:
>
> I want to let vim execute this myscript.vim only when the first line
> of the memfile.psm file contains more then one word.
> Otherwise it should do nothing, because it has already done this time
> the last ime.
> How do I do that?
>
vim -c "if getline(1
Anybody have anything more on this? Bram? Is it really a bug?
>
>
> On Sun, Jul 5, 2009 at 5:14 PM, Efraim Yawitz wrote:
>
>>
>> A little debugging revealed that this behavior is according to design (but
>> not as described in the help).
>>
>> In ex_cmds.h the :insert command is configured as:
>>
Hi,
Jeri Raye wrote:
>
> Can you use the position of a word in a search and replace as an argument
>
> For example
>
> if the line has the word INPUT in it, then the last word should have
> () around it
>
> So:
>
> start: INPUT s1 , s2
> INPUT s3 , s4
>
> must become
>
> s
35 matches
Mail list logo