Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

vim · Vim (Vi IMproved) text editor users list

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 136574 - 136603 of 137837   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#136574 From: Marc Weber <marco-oweber@...>
Date: Fri Mar 1, 2013 11:06 am
Subject: Re: Vim wiki editable by git
marco-oweber@...
Send Email Send Email
 
> with these custom mappings which happen to rely on custom
> program x which is in my environment but you'll have to
> compile it from source ...,' etc.
But that's not solved by a wiki - compiling from source is always work.
Its only solved by source friendly distributions like gentoo or
nixos.

> Well, I also think that vim.org would benefit from
> a chatroom, Stack Overflow style.
Stack Overflow is already being used.
http://webchat.freenode.net/
Information about how to use that

> loads of new users asking questions, and who uses IRC
> these days? :-)
Many people, join and see yourself.

> I think, given the enduring popularity of Vim, it needs
> a centralised resource.
Rewriting Vim is out of my scope - I've had plans to do so for months.
So I try to apply 20/80 rule again.

Thanks for joining and contributing ideas. A short irc howto is already
there now.

Marc Weber

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136575 From: Erik Christiansen <dvalin@...>
Date: Fri Mar 1, 2013 12:23 pm
Subject: Re: Favourite Terminal for use with vim ?
dvalin@...
Send Email Send Email
 
On 26.02.13 20:11, Tobias Klausmann wrote:
> On Wed, 13 Feb 2013, Erik Christiansen wrote:
> > programmer and for banging out posts within mutt. I've heard of people
> > preferring urxvt, but never figured out why.
>
> For a long time, urxvt's unicode support was multiple orders of
> magnitude better than xterm's (as in: xterm didn't have any). If
> you use more than the 26 Latin chars used in ASCII English in your
> everyday language, proper first-order support is important. Since
> you're an old fart like me: Unicode support was/is the modern
> equivalent of being 8-bit clean.

Many thanks for that insight, Tobias.
By the time I needed to move to utf-8, xterm not only had its -u8 and
-wc options, but seems to handle as much as I encounter, by default.

> Also, urxvt can be compiled to be very, very small, which some
> people prefer for whatever reason.

Now that can be good to know. (I went for Debian with LXDE on my laptop,
to speed up booting, for example.)

Erik

--
We are drowning in information but starved for knowledge.
                              - John Naisbitt, Megatrends

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136576 From: Jim Green <student.northwestern@...>
Date: Fri Mar 1, 2013 8:36 pm
Subject: can :sp borrow something from :b
student.northwestern@...
Send Email Send Email
 
Dear list:
assume i have two buffers in my vim session

1 abc.txt
2 xyz.txt

I am currently in buffer 1 abc.txt

I can use :b z and tab completion to open buffer 2 xyz.txt because vim is smart
to determine that only buffer 2 has letter z in its name

now I want use :sp z to have the same smartness but it doesn't seem to work that
way. I can only sp #2 to split the second buffer.

Could anyone share some ideas?

Thanks!
Jim.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136577 From: cyboman <rail.shafigulin@...>
Date: Fri Mar 1, 2013 8:40 pm
Subject: Unable to compile Vim with Python 3, Perl, and OLE support for Windows XP with MinGW
rail.shafigulin@...
Send Email Send Email
 
I tried to post similar question vim_dev group, but I think I posted in the
wrong group. I apologize in advance if you have seen this question before. I'm
going to try to post it here.

Issue
I need to compile Vim with Python 3, Perl, and OLE and OLEsupport.

Problem 1.
I tried to compile with OLE support (all I have to do is to set OLE=yes) but for
some reason it doesn't work. As far as I understand it links some dll's but In
order for them to work I need to copy them into my C:\Program Files\Vim\vim73
directory, specifically libstdc++-6.dll and libgcc_s_dw2-1.dll. Interestingly
enough the Unable to locate component doesn't come up when I run vim.exe, it
only comes up when I run gvim.exe and when I compile with OLE=yes (i.e if it is
compiles with OLE=no gvim.exe works fine). Is there a way to statically link
those libraries without the need of copying them?

Problem 2.
Python 3 support doesn't work out right. I tried compiling with DYNAMIC_PYTHON3
set to yes as well as no. Whenever I try to run the following on the command
line :python3 print(), whether it is (g)vim.exe crashes with a Runtime Library
Error. If its vim.exe that crashed, then the command line contains the following
message:
Fatal Python error: take_gil: NULL tstate

I'm attaching the screenshots of errors. If you have answers to any of those
questions, any help is appreciated.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136578 From: cyboman <rail.shafigulin@...>
Date: Fri Mar 1, 2013 8:42 pm
Subject: Re: Unable to compile Vim with Python 3, Perl, and OLE support for Windows XP with MinGW
rail.shafigulin@...
Send Email Send Email
 
On Friday, March 1, 2013 3:40:53 PM UTC-5, cyboman wrote:
> I tried to post similar question vim_dev group, but I think I posted in the
wrong group. I apologize in advance if you have seen this question before. I'm
going to try to post it here.
>
> Issue
> I need to compile Vim with Python 3, Perl, and OLE and OLEsupport.
>
> Problem 1.
> I tried to compile with OLE support (all I have to do is to set OLE=yes) but
for some reason it doesn't work. As far as I understand it links some dll's but
In order for them to work I need to copy them into my C:\Program Files\Vim\vim73
directory, specifically libstdc++-6.dll and libgcc_s_dw2-1.dll. Interestingly
enough the Unable to locate component doesn't come up when I run vim.exe, it
only comes up when I run gvim.exe and when I compile with OLE=yes (i.e if it is
compiles with OLE=no gvim.exe works fine). Is there a way to statically link
those libraries without the need of copying them?
>
> Problem 2.
> Python 3 support doesn't work out right. I tried compiling with
DYNAMIC_PYTHON3 set to yes as well as no. Whenever I try to run the following on
the command line :python3 print(), whether it is (g)vim.exe crashes with a
Runtime Library Error. If its vim.exe that crashed, then the command line
contains the following message:
> Fatal Python error: take_gil: NULL tstate
>
> I'm attaching the screenshots of errors. If you have answers to any of those
questions, any help is appreciated.

Here is what I have my .bat file, which I use for compilation. I got this
instructions from
http://vim.wikia.com/wiki/Build_Python-enabled_Vim_on_Windows_with_MinGW and
adapted them to my needs.

@echo off
REM this file must be run in Vim source directory (e.g., C:\devel\vim73\src)
REM these folders and files can be deleted after compilation: /gobj/, /obj/,
pathdef.c

REM add "bin" directory of MinGW installation to system PATH
PATH = C:\MinGW\bin;%PATH%;

REM build GUI version (gvim.exe)
mingw32-make.exe -f Make_ming.mak PYTHON3="C:/Python32" PYTHON3_VER=32
DYNAMIC_PYTHON3=yes PERL=C:/Perl PERL_VER=512 DYNAMIC_PERL=yes NETBEANS=no
FEATURES=BIG OLE=yes GUI=yes gvim.exe > build_vim_log.txt 2>&1

REM build console version (vim.exe)
mingw32-make.exe -f Make_ming.mak PYTHON3="C:/Python32" PYTHON3_VER=32
DYNAMIC_PYTHON3=yes PERL=C:/Perl PERL_VER=512 DYNAMIC_PERL=yes NETBEANS=no
FEATURES=BIG OLE=yes GUI=no vim.exe >> build_vim_log.txt 2>&1

pause

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136579 From: cyboman <rail.shafigulin@...>
Date: Fri Mar 1, 2013 9:02 pm
Subject: Re: Unable to compile Vim with Python 3, Perl, and OLE support for Windows XP with MinGW
rail.shafigulin@...
Send Email Send Email
 
On Friday, March 1, 2013 3:42:30 PM UTC-5, cyboman wrote:
> On Friday, March 1, 2013 3:40:53 PM UTC-5, cyboman wrote:
> > I tried to post similar question vim_dev group, but I think I posted in the
wrong group. I apologize in advance if you have seen this question before. I'm
going to try to post it here.
> >
> > Issue
> > I need to compile Vim with Python 3, Perl, and OLE and OLEsupport.
> >
> > Problem 1.
> > I tried to compile with OLE support (all I have to do is to set OLE=yes) but
for some reason it doesn't work. As far as I understand it links some dll's but
In order for them to work I need to copy them into my C:\Program Files\Vim\vim73
directory, specifically libstdc++-6.dll and libgcc_s_dw2-1.dll. Interestingly
enough the Unable to locate component doesn't come up when I run vim.exe, it
only comes up when I run gvim.exe and when I compile with OLE=yes (i.e if it is
compiles with OLE=no gvim.exe works fine). Is there a way to statically link
those libraries without the need of copying them?
> >
> > Problem 2.
> > Python 3 support doesn't work out right. I tried compiling with
DYNAMIC_PYTHON3 set to yes as well as no. Whenever I try to run the following on
the command line :python3 print(), whether it is (g)vim.exe crashes with a
Runtime Library Error. If its vim.exe that crashed, then the command line
contains the following message:
> > Fatal Python error: take_gil: NULL tstate
> >
> > I'm attaching the screenshots of errors. If you have answers to any of those
questions, any help is appreciated.
>
> Here is what I have my .bat file, which I use for compilation. I got this
instructions from
http://vim.wikia.com/wiki/Build_Python-enabled_Vim_on_Windows_with_MinGW and
adapted them to my needs.
>
> @echo off
> REM this file must be run in Vim source directory (e.g., C:\devel\vim73\src)
> REM these folders and files can be deleted after compilation: /gobj/, /obj/,
pathdef.c
>
> REM add "bin" directory of MinGW installation to system PATH
> PATH = C:\MinGW\bin;%PATH%;
>
> REM build GUI version (gvim.exe)
> mingw32-make.exe -f Make_ming.mak PYTHON3="C:/Python32" PYTHON3_VER=32
DYNAMIC_PYTHON3=yes PERL=C:/Perl PERL_VER=512 DYNAMIC_PERL=yes NETBEANS=no
FEATURES=BIG OLE=yes GUI=yes gvim.exe > build_vim_log.txt 2>&1
>
> REM build console version (vim.exe)
> mingw32-make.exe -f Make_ming.mak PYTHON3="C:/Python32" PYTHON3_VER=32
DYNAMIC_PYTHON3=yes PERL=C:/Perl PERL_VER=512 DYNAMIC_PERL=yes NETBEANS=no
FEATURES=BIG OLE=yes GUI=no vim.exe >> build_vim_log.txt 2>&1
>
> pause

Well I found a solution to the python issue. Here it is
http://markmail.org/thread/5lqelk2pfjobfwom

But I still need a way to statically link those two libraries. Any help is
appreciated.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136580 From: Ethan Hereth <advocateddrummer@...>
Date: Fri Mar 1, 2013 9:37 pm
Subject: Re: can :sp borrow something from :b
advocateddrummer@...
Send Email Send Email
 
Have you looked into the CtrlP plugin? You can use it to 'fuzzy find' files like you are describing and then I believe there are options to open them in a new split window, or tab, and probably other options. 

Ethan Alan


On Fri, Mar 1, 2013 at 3:36 PM, Jim Green <student.northwestern@...> wrote:
Dear list:
assume i have two buffers in my vim session

1 abc.txt
2 xyz.txt

I am currently in buffer 1 abc.txt

I can use :b z and tab completion to open buffer 2 xyz.txt because vim is smart to determine that only buffer 2 has letter z in its name

now I want use :sp z to have the same smartness but it doesn't seem to work that way. I can only sp #2 to split the second buffer.

Could anyone share some ideas?

Thanks!
Jim.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

#136581 From: Ben Fritz <fritzophrenic@...>
Date: Fri Mar 1, 2013 9:38 pm
Subject: Re: can :sp borrow something from :b
fritzophrenic@...
Send Email Send Email
 
On Friday, March 1, 2013 2:36:45 PM UTC-6, Jim Green wrote:
> Dear list:
> assume i have two buffers in my vim session
>
> 1 abc.txt
> 2 xyz.txt
>
> I am currently in buffer 1 abc.txt
>
> I can use :b z and tab completion to open buffer 2 xyz.txt because vim is
smart to determine that only buffer 2 has letter z in its name
>
> now I want use :sp z to have the same smartness but it doesn't seem to work
that way. I can only sp #2 to split the second buffer.
>
> Could anyone share some ideas?
>
> Thanks!
> Jim.

Use :sb (short for :sbuffer) instead of :sp or :b

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136582 From: Ben Fritz <fritzophrenic@...>
Date: Fri Mar 1, 2013 9:39 pm
Subject: Re: Unable to compile Vim with Python 3, Perl, and OLE support for Windows XP with MinGW
fritzophrenic@...
Send Email Send Email
 
On Friday, March 1, 2013 2:40:53 PM UTC-6, cyboman wrote:
> I tried to post similar question vim_dev group, but I think I posted in the
wrong group. I apologize in advance if you have seen this question before. I'm
going to try to post it here.
>
> Issue
> I need to compile Vim with Python 3, Perl, and OLE and OLEsupport.
>

I consider compiling Vim from source to be related enough to development to make
vim_dev a decent place to ask. I answered there.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136583 From: Tobias Klausmann <klausman@...>
Date: Fri Mar 1, 2013 10:08 pm
Subject: Re: Favourite Terminal for use with vim ?
klausman@...
Send Email Send Email
 
Hi!

On Fri, 01 Mar 2013, Erik Christiansen wrote:
> On 26.02.13 20:11, Tobias Klausmann wrote:
> > Also, urxvt can be compiled to be very, very small, which
> > some people prefer for whatever reason.
>
> Now that can be good to know. (I went for Debian with LXDE on
> my laptop, to speed up booting, for example.)

The thing about urxvt in this regard is mostly modularity. In the
configure phase, you can remove a _lot_ of stuff. Here's a
comparison to rxvt from the FAQ:

http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod#Isn_t_rxvt_u\
nicode_supposed_to_be_sm

That said, I don't agree with all of the author's notions of
"what a terminal needs". Then again, I can get what I want out of
it, so I'm a happy camper.

Regards,
Tobias

--
printk("Illegal format on cdrom.  Pester manufacturer.\n");
         linux-2.2.16/fs/isofs/inode.c

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136584 From: Marc Weber <marco-oweber@...>
Date: Fri Mar 1, 2013 10:12 pm
Subject: Re: vim edit help
marco-oweber@...
Send Email Send Email
 
Excerpts from vicky b's message of Thu Feb 28 19:33:23 +0100 2013:
>  I have text in below format
> var illness = new
>
Array("tvlPlyCp","tvlPlcyCertID","tvlShdIt","tvlRepMedEi","tvlMdRp","tvlRrepdsc"\
,"tvlPolRep")
>
> i need to convert it
>
> var illness = new dojox.collections.ArrayList();
> illness.add("tvlPlyCp");
> illness.add("tvlPlcyCertID")
[..]

Why? it will be more bytes to sent to the client.
dojox documentation says there is addRange(array) - maybe it just
does what you're looking for.

If not you can create a helper function, too:

funtion new_dojox_collection(){
   var r = new ..
   for each elem in argumets
     r.add(elem)
   return r;
}

You can solve it by vim, but you don't have to. such shortuts can make
sense if you use them a lot.

Marc Weber

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136585 From: Jim Green <student.northwestern@...>
Date: Fri Mar 1, 2013 11:22 pm
Subject: Re: can :sp borrow something from :b
student.northwestern@...
Send Email Send Email
 
On 1 March 2013 16:37, Ethan Hereth <advocateddrummer@...> wrote:
> Have you looked into the CtrlP plugin? You can use it to 'fuzzy find' files
> like you are describing and then I believe there are options to open them in
> a new split window, or tab, and probably other options.
>
> Ethan Alan

I tried similar plugins such as mini buf exp or buf explorer before
but finally returned to simple vim own commands. I felt the plugins
sometimes get in my way.

>
>
> On Fri, Mar 1, 2013 at 3:36 PM, Jim Green <student.northwestern@...>
> wrote:
>>
>> Dear list:
>> assume i have two buffers in my vim session
>>
>> 1 abc.txt
>> 2 xyz.txt
>>
>> I am currently in buffer 1 abc.txt
>>
>> I can use :b z and tab completion to open buffer 2 xyz.txt because vim is
>> smart to determine that only buffer 2 has letter z in its name
>>
>> now I want use :sp z to have the same smartness but it doesn't seem to
>> work that way. I can only sp #2 to split the second buffer.
>>
>> Could anyone share some ideas?
>>
>> Thanks!
>> Jim.
>>
>> --
>> --
>> You received this message from the "vim_use" maillist.
>> Do not top-post! Type your reply below the text you are replying to.
>> For more information, visit http://www.vim.org/maillist.php
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "vim_use" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to vim_use+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136586 From: Jim Green <student.northwestern@...>
Date: Fri Mar 1, 2013 11:22 pm
Subject: Re: can :sp borrow something from :b
student.northwestern@...
Send Email Send Email
 
On 1 March 2013 16:38, Ben Fritz <fritzophrenic@...> wrote:
> On Friday, March 1, 2013 2:36:45 PM UTC-6, Jim Green wrote:
>> Dear list:
>> assume i have two buffers in my vim session
>>
>> 1 abc.txt
>> 2 xyz.txt
>>
>> I am currently in buffer 1 abc.txt
>>
>> I can use :b z and tab completion to open buffer 2 xyz.txt because vim is
smart to determine that only buffer 2 has letter z in its name
>>
>> now I want use :sp z to have the same smartness but it doesn't seem to work
that way. I can only sp #2 to split the second buffer.
>>
>> Could anyone share some ideas?
>>
>> Thanks!
>> Jim.
>
> Use :sb (short for :sbuffer) instead of :sp or :b

this is great. have used vim for about 10 years and never heard about
such a nice thing. thanks!
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
"vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136587 From: Miles Zarathustra <mlzarathustra@...>
Date: Sat Mar 2, 2013 12:52 am
Subject: groovy syntax patch
mlzarathustra@...
Send Email Send Email
 
The following patch will enable correct highlighting of triple quote, triple
double-quote and "x is $x"


The author of the patch lists an email address that is unresponsive, and since
nobody else can upload a patch, now what?  There may be other improvements, but
these are pretty glaring.


NOTE: very long lines below, which may get screwed up if the site wraps them.  I
also will attempt to upload a file with the patch.


# diff groovy.vim.orig groovy.vim
250a251,253
> syn region  groovyString          start='"""' end='"""' fold
contains=groovySpecialChar,groovySpecialError,@Spell,groovyELExpr
> syn region  groovyString          start="'''" end="'''" fold
contains=groovySpecialChar,groovySpecialError,@Spell,groovyELExpr
>
252c255,257
<  syn match groovyELExpr /\${.\{-}}/ contained
---
> syn match groovyELExpr /\${.\{-}}/ contained
> syn match groovyELExpr /\$[a-zA-Z][a-zA-Z.]*/ contained
>


N.B. I added the above as a note to the groovy syntax page:
http://vim.wikia.com/wiki/Script:945


You may want to remove it if you apply the patch.

It is quite frustrating to figure out where to submit this patch, so I hope this
works.

Thanks,
   -= miles =-

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136588 From: Bram Moolenaar <Bram@...>
Date: Sat Mar 2, 2013 12:34 pm
Subject: Re: groovy syntax patch
Bram@...
Send Email Send Email
 
Miles Zarathustra wrote:

> The following patch will enable correct highlighting of triple quote,
> triple double-quote and "x is $x"
>
>
> The author of the patch lists an email address that is unresponsive,
> and since nobody else can upload a patch, now what?  There may be
> other improvements, but these are pretty glaring.

Did you forward this to the Groovy syntax file maintainer, Tobias Rapp?

> NOTE: very long lines below, which may get screwed up if the site
> wraps them.  I also will attempt to upload a file with the patch.

Can you make this a context diff?


--
hundred-and-one symptoms of being an internet addict:
14. You start introducing yourself as "Jim at I-I-Net dot net dot au"

  /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136589 From: spinor <super_cow_power2109@...>
Date: Sat Mar 2, 2013 12:12 pm
Subject: gvim on windows does not accept Alt modifier key
super_cow_power2109@...
Send Email Send Email
 
hello, everyone

when i press Alt-<printable character>, it seems that gvim only takes
<printable character>; it cannot detect that Alt is pressed

trying winaltkeys seems not working:
set winaltkeys=no

mapping itself seems working:
noremap <M-N> :echo "M-n works!"<CR>
map <C-N> <M-N>

this yields :map
    <C-N>         <M-N>
    <M-N>       * :echo "M-n works!"<CR>
and Ctrl-N prints "M-n works!", while Alt-N is taken regarded as N
resulting in searching functionality

does anyone have idea that force gvim to interpret Alt modifier key?

i'm using japanese patched gvim on windows 7 64bit, which is distributed
by http://www.kaoriya.net/software/vim

thanks

--
output of :version

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 14 2013 09:47:55)
MS-Windows 64 ¥Ó¥Ã¥È GUI ÈÇ
ŬÍѺѥѥåÁ: 1-816
Modified by koron.kaoriya@...
Compiled by koron.kaoriya@...
Big ÈÇ with GUI.  µ¡Ç½¤Î°ìÍ÷ Í­¸ú(+)/̵¸ú(-)
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
+cindent +clientserver +clipboard +cmdline_compl +cmdline_hist
+cmdline_info +comments +conceal +cryptv
+cscope +cursorbind +cursorshape +dialog_con_gui +diff +digraphs -dnd
-ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
+find_in_path +float +folding -footer
  +gettext/dyn +guess_encode -hangul_input +iconv/dyn +insert_expand
+jumplist +keymap +kaoriya +langmap +libcall +linebreak +lispindent
+listcmds +localmap +lua/dyn +menu
+migemo/dyn +mksession +modify_fname +mouse +mouseshape
+multi_byte_ime/dyn +multi_lang -mzscheme +netbeans_intg -ole
+path_extra +perl/dyn +persistent_undo -postscript +printer
-profile +python/dyn +python3/dyn +quickfix +reltime +rightleft
+ruby/dyn +scrollbind +signs +smartindent -sniff +startuptime
+statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl -tgetent -termresponse +textobjects
+title +toolbar +user_commands +vertsplit +virtualedit +visual
+visualextra +viminfo +vreplace +wildignore
  +wildmenu +windows +writebackup -xfontset -xim -xterm_save +xpm_w32
       ¥·¥¹¥Æ¥à vimrc: "$VIM\vimrc"
         ¥æ¡¼¥¶ vimrc: "$HOME\_vimrc"
      Âè2¥æ¡¼¥¶ vimrc: "$VIM\_vimrc"
          ¥æ¡¼¥¶ exrc: "$HOME\_exrc"
       Âè2¥æ¡¼¥¶ exrc: "$VIM\_exrc"
      ¥·¥¹¥Æ¥à gvimrc: "$VIM\gvimrc"
        ¥æ¡¼¥¶ gvimrc: "$HOME\_gvimrc"
     Âè2¥æ¡¼¥¶ gvimrc: "$VIM\_gvimrc"
     ¥·¥¹¥Æ¥à¥á¥Ë¥å¡¼: "$VIMRUNTIME\menu.vim"
¥³¥ó¥Ñ¥¤¥ë: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32
-DFEAT_CSCOPE -DFEAT_NETBEANS_INTG   -DFEAT_XPM_W32
/DMODIFIED_BY=\"koron.kaoriya@...\"
/DDYNAMIC_MSVCRT_DLL=\"msvcr100.dll\" /DGETTEXT_DLL=\"intl.dll\"
/D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -DWINVER=0x0400
-D_WIN32_WINNT=0x0400 /Fo.\ObjGULYHRAMD64/ /Ox /GL -DNDEBUG /MD
-DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_W32 -DDYNAMIC_ICONV
-DDYNAMIC_GETTEXT -DDYNAMIC_MIGEMO -DFEAT_LUA -DDYNAMIC_LUA
-DDYNAMIC_LUA_DLL=\"lua52.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON
-DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3
-DDYNAMIC_PYTHON3_DLL=\"python33.dll\" -DFEAT_PERL -DDYNAMIC_PERL
-DDYNAMIC_PERL_DLL=\"perl516.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY
-DDYNAMIC_RUBY_VER=19 -DDYNAMIC_RUBY_DLL=\"msvcr80-ruby191.dll\"
-DFEAT_BIG /Fd.\ObjGULYHRAMD64/ /Zi
¥ê¥ó¥¯: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS
oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib
comdlg32.lib ole32.lib uuid.lib /machine:AMD64 /nodefaultlib gdi32.lib
version.lib   winspool.lib comctl32.lib advapi32.lib shell32.lib
/machine:AMD64 /nodefaultlib msvcrt.lib   user32.lib
/nodefaultlib:lua52.lib   /nodefaultlib:python27.lib
/nodefaultlib:python33.lib    WSock32.lib
..\..\contrib\xpm\x64\lib\libXpm.lib /PDB:gvim.pdb -debug

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136590 From: nicholas edwards <jpnedwards@...>
Date: Sat Mar 2, 2013 6:09 pm
Subject: nicholas edwards
jpnedwards@...
Send Email Send Email
 
djulnqrs bqxydzslp.
vsd/

http://www.location-de-vacance-corse.com/jzqkjxza/pu7rs07ya6utdj76ab.2jj2epnbrp?38q0npcu


mxrhfeckd uswcokdd.
vsd/

tkq ipmkvrb.
vsd/

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

#136591 From: Eric Weir <eeweir@...>
Date: Sat Mar 2, 2013 7:58 pm
Subject: Re: Manually creating a vim setup for installation on and ipad
eeweir@...
Send Email Send Email
 
On Feb 24, 2013, at 6:53 AM, Eric Weir wrote:

> On Feb 23, 2013, at 9:07 PM, Bee <forth@...> wrote:
>
>> That should be the .vim/plugin folder.
>
> I was going to rename the vim folder after I extracting it from the vimball. I
should do it before creating the vimball?
>
>> I manually moved one of my plugins to the .vim/plugin folder, after
>> manually making the plugin folder, and it works.
>
> As a vimball? Or is it in fact possible to move a folder into the app? I do
recall seeing folders I created with the vim app in the iTunes entry for the
app? If I can download them, as that suggest, I can upload them?
>
> A fundamental question about vim: Is the .vim folder required for vim to run,
or is it provided just for the purpose of adding functionality to vim? The vim
app appears not to have one. Or maybe it's hidden?

I'm curious about the answer to my question about the .vim folder. Would there
be anything in it if one had installed no plugins?

Thanks,
--------------------------------------------------------------------------------\
----------
Eric Weir
eeweir@...


“On the basis of evidence we may be sure that we are wrong
but we can never be sure that we are right.”

> - Richard Feynman

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136592 From: Miles Zarathustra <mlzarathustra@...>
Date: Sat Mar 2, 2013 9:18 pm
Subject: Re: groovy syntax patch
mlzarathustra@...
Send Email Send Email
 
Thanks for getting back.

Vim is awesome, by the way.  I use it all the time.

If you give me Tobias Rapp's email, I would be glad to forward it.  I can turn on -c  (but I'm not connected to that network right now)

 -= miles =-




On Sat, Mar 2, 2013 at 4:34 AM, Bram Moolenaar <Bram@...> wrote:

Miles Zarathustra wrote:

> The following patch will enable correct highlighting of triple quote,
> triple double-quote and "x is $x"
>
>
> The author of the patch lists an email address that is unresponsive,
> and since nobody else can upload a patch, now what?  There may be
> other improvements, but these are pretty glaring.

Did you forward this to the Groovy syntax file maintainer, Tobias Rapp?

> NOTE: very long lines below, which may get screwed up if the site
> wraps them.  I also will attempt to upload a file with the patch.

Can you make this a context diff?


--
hundred-and-one symptoms of being an internet addict:
14. You start introducing yourself as "Jim at I-I-Net dot net dot au"

 /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

#136593 From: Bram Moolenaar <Bram@...>
Date: Sat Mar 2, 2013 9:51 pm
Subject: Re: groovy syntax patch
Bram@...
Send Email Send Email
 
Miles Zarathustra wrote:

> Thanks for getting back.
>
> Vim is awesome, by the way.  I use it all the time.
>
> If you give me Tobias Rapp's email, I would be glad to forward it.  I can
> turn on -c  (but I'm not connected to that network right now)

It's in the syntax file header:
	 " Maintainer: Tobias Rapp <yahuxo@...>
If that doesn't work I have another one.

--
When a fly lands on the ceiling, does it do a half roll or
a half loop?

  /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136594 From: Miles Zarathustra <mlzarathustra@...>
Date: Sat Mar 2, 2013 10:29 pm
Subject: Re: groovy syntax patch
mlzarathustra@...
Send Email Send Email
 
Hi Tobias,

I made some improvements to the groovy syntax highlighting, but the original author lists an email addr that no longer works.

Bram Moolenaar suggested sending you a context diff, so here it is. 
This enables """ and ''', and also "x is $x"

Thanks,
  -= miles =-


$ diff -c /usr/share/vim/vim73/syntax/groovy.vim.orig /usr/share/vim/vim73/syntax/groovy.vim
*** /usr/share/vim/vim73/syntax/groovy.vim.orig Fri Mar  1 15:23:43 2013
--- /usr/share/vim/vim73/syntax/groovy.vim      Fri Mar  1 15:53:53 2013
***************
*** 248,255 ****
  syn match   groovySpecialChar      contained "\\\([4-9]\d\|[0-3]\d\d\|[\"\\'ntbrf]\|u\x\{4\}\)"
  syn region  groovyString          start=+"+ end=+"+ end=+$+ contains=groovySpecialChar,groovySpecialError,@Spell,groovyELExpr
  syn region  groovyString          start=+'+ end=+'+ end=+$+ contains=groovySpecialChar,groovySpecialError,@Spell,groovyELExpr
  " syn region groovyELExpr start=+${+ end=+}+ keepend contained
!  syn match groovyELExpr /\${.\{-}}/ contained
  GroovyHiLink groovyELExpr Identifier

  " TODO: better matching. I am waiting to understand how it really works in groovy
--- 248,260 ----
  syn match   groovySpecialChar      contained "\\\([4-9]\d\|[0-3]\d\d\|[\"\\'ntbrf]\|u\x\{4\}\)"
  syn region  groovyString          start=+"+ end=+"+ end=+$+ contains=groovySpecialChar,groovySpecialError,@Spell,groovyELExpr
  syn region  groovyString          start=+'+ end=+'+ end=+$+ contains=groovySpecialChar,groovySpecialError,@Spell,groovyELExpr
+ syn region  groovyString          start='"""' end='"""' fold contains=groovySpecialChar,groovySpecialError,@Spell,groovyELExpr
+ syn region  groovyString          start="'''" end="'''" fold contains=groovySpecialChar,groovySpecialError,@Spell,groovyELExpr
+
  " syn region groovyELExpr start=+${+ end=+}+ keepend contained
! syn match groovyELExpr /\${.\{-}}/ contained
! syn match groovyELExpr /\$[a-zA-Z][a-zA-Z.]*/ contained
!
  GroovyHiLink groovyELExpr Identifier

  " TODO: better matching. I am waiting to understand how it really works in groovy




On Sat, Mar 2, 2013 at 1:51 PM, Bram Moolenaar <Bram@...> wrote:

Miles Zarathustra wrote:

> Thanks for getting back.
>
> Vim is awesome, by the way.  I use it all the time.
>
> If you give me Tobias Rapp's email, I would be glad to forward it.  I can
> turn on -c  (but I'm not connected to that network right now)

It's in the syntax file header:
        " Maintainer:   Tobias Rapp <yahuxo@...>
If that doesn't work I have another one.

--
When a fly lands on the ceiling, does it do a half roll or
a half loop?

 /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

#136595 From: Hsiu Dai <hsiudai@...>
Date: Sat Mar 2, 2013 9:58 pm
Subject: Regex or other vim help: limiting the scope of a substitution
hsiudai@...
Send Email Send Email
 
Hi,

I'd like to change all the underscores within a class="____" to hyphens. For
instance, I have:

<a href="linkone" class="class_a class_b"></a>
<a href="link_two" class="classc class_d"></a>

And in the end, I'd like to to be:

<a href="linkone" class="class-a class-b"></a>
<a href="link_two" class="classc class-d"></a>

As you can see, the underscores have been changed to hyphens but only in the
class attribute, everywhere else they're left alone and everything else in the
class attribute is also left alone.

I thought maybe I could use a lookbehind for this, but am still having trouble.
I understand why the following doesn't work (the /g tries to match the `class="`
again and fails), but it's as close as I've gotten.

s/\(class="\)\@<=\([^"_]*\)_/\2-/g

Can anyone offer regex help? Or an alternative method? Something akin to
g/pattern/action except instead of limiting the action to be taken on lines that
match, it's taken only within the matching area, so I could do something like:

:magicaction/class="[^"]"/s/_/-/g

Thanks in advance!

Hsiu

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136596 From: Tim Chase<vim@...>
Date: Sun Mar 3, 2013 12:51 am
Subject: Re: Regex or other vim help: limiting the scope of a substitution
vim@...
Send Email Send Email
 
On 2013-03-02 13:58, Hsiu Dai wrote:
> <a href="linkone" class="class_a class_b"></a>
> <a href="link_two" class="classc class_d"></a>
>
> And in the end, I'd like to to be:
>
> <a href="linkone" class="class-a class-b"></a>
> <a href="link_two" class="classc class-d"></a>
>
> As you can see, the underscores have been changed to hyphens but
> only in the class attribute, everywhere else they're left alone and
> everything else in the class attribute is also left alone.

Your guesses were pretty close.  The magic resides within

   :help sub-replace-special

where you learn you can do things like

  
:%s/class\s*=\s*\zs\(['"]\)\%(\1\@!.\)*_\(\1\@!.\)*\1/\=substitute(submatch(0),'\
_',
'-', 'g')/gi

This finds the quoted attribute string containing underscores for
classes and then makes that text available to as "submatch(0)" which
can then be passed to the substitute() function.

-tim



--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136597 From: 天井冴太 (AmaiSaeta) <amaisaeta@...>
Date: Sun Mar 3, 2013 4:10 am
Subject: Re: gvim on windows does not accept Alt modifier key
amaisaeta@...
Send Email Send Email
 
Hi, spinor.

2013/3/2 spinor <super_cow_power2109@...>:
> mapping itself seems working:
> noremap <M-N> :echo "M-n works!"<CR>
> map <C-N> <M-N>
>
> this yields :map
>    <C-N>         <M-N>
>    <M-N>       * :echo "M-n works!"<CR>
> and Ctrl-N prints "M-n works!", while Alt-N is taken regarded as N
> resulting in searching functionality
Try this.
   :noremap <M-n> :echo "FOO"<CR>
   :noremap <M-N> :echo "BAR"<CR>
and check result of Alt-n and Alt-Shift-n.
<M-n> (Alt-n) and <M-N> (Alt-Shift-n) are different.
But <C-n> and <C-N> are same mapping.

I do not know whether this is a correct behavior.
But it is very confusion...


--
/********************************************************
  * Å·°æºãÂÀ (AmaiSaeta)
  *   mailto:amaisaeta@...
  *
  *   My blogs...
  *     Å·°æºãÂÀۤĤì¤Å¤ìblog [Å·°æ¤ÎÀ÷¤ß]
  *       http://amaisaeta.seesaa.net/
  *     AMAgrammar <> Programmer
  *       http://agpg.seesaa.net/
  *
  *  Google+
  *       https://plus.google.com/110360324196605830601
  *  FriendFeed
  *       http://friendfeed.com/amaisaeta
  *******************************************************/

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136598 From: spinor <super_cow_power2109@...>
Date: Sun Mar 3, 2013 7:14 am
Subject: Re: gvim on windows does not accept Alt modifier key
super_cow_power2109@...
Send Email Send Email
 
hello, amai san

(2013/03/03 13:10), Å·°æºãÂÀ (AmaiSaeta) wrote:
> Try this.
>    :noremap <M-n> :echo "FOO"<CR>
>    :noremap <M-N> :echo "BAR"<CR>
> and check result of Alt-n and Alt-Shift-n.
> <M-n> (Alt-n) and <M-N> (Alt-Shift-n) are different.
> But <C-n> and <C-N> are same mapping.

that works fine just as i intended. thanks!

> I do not know whether this is a correct behavior.
> But it is very confusion...

huum...

vim documentation use <C-A> not <C-a>
it does not refer to difference between <M-n> and <M-N>, too

vim manner is somewhat hard to get used to...

¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡ª

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136599 From: John Little <John.B.Little@...>
Date: Sun Mar 3, 2013 10:12 am
Subject: Re: Regex or other vim help: limiting the scope of a substitution
John.B.Little@...
Send Email Send Email
 
Using \zs can be much simpler than fancy assertions and captures.

:%s/class="[^"_]*\zs_/-/g

Repeat until pattern not found.

Regards, John Little

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136600 From: Christian Brabandt <cblists@...>
Date: Sun Mar 3, 2013 12:37 pm
Subject: Re: Regex or other vim help: limiting the scope of a substitution
cblists@...
Send Email Send Email
 
Hi Hsiu!

On Sa, 02 Mär 2013, Hsiu Dai wrote:

> Hi,
>
> I'd like to change all the underscores within a class="____" to hyphens. For
instance, I have:
>
> <a href="linkone" class="class_a class_b"></a>
> <a href="link_two" class="classc class_d"></a>
>
> And in the end, I'd like to to be:
>
> <a href="linkone" class="class-a class-b"></a>
> <a href="link_two" class="classc class-d"></a>
>
> As you can see, the underscores have been changed to hyphens but only in the
class attribute, everywhere else they're left alone and everything else in the
class attribute is also left alone.
>
> I thought maybe I could use a lookbehind for this, but am still having
trouble. I understand why the following doesn't work (the /g tries to match the
`class="` again and fails), but it's as close as I've gotten.
>
> s/\(class="\)\@<=\([^"_]*\)_/\2-/g

That is pretty close. This should work:
s/\(class="\%([^"]*\)\)\@<=_/-/g

regards,
Christian
--
Hätte Gott gewollt, daß wir denken, so hätte er uns ein Gehirn gegeben.
Und hätte Gott gewollt, daß wir fliegen, hätte er uns Flugtickets gegeben.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136601 From: Eric Weir <eeweir@...>
Date: Sun Mar 3, 2013 5:43 pm
Subject: Re: Manually creating a vim setup for installation on and ipad
eeweir@...
Send Email Send Email
 
On Mar 2, 2013, at 2:58 PM, Eric Weir wrote:

> I'm curious about the answer to my question about the .vim folder. Would there
be anything in it if one had installed no plugins?

Never mind. I got the answer.

--------------------------------------------------------------------------------\
----------
Eric Weir
Decatur, GA  USA
eeweir@...

"Imagining the other is a powerful antidote to fanaticism and hatred."

- Amos Oz

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#136602 From: Gabor Urban <urbangabo@...>
Date: Mon Mar 4, 2013 9:08 am
Subject: Color scheme
urbangabo@...
Send Email Send Email
 
Hi guys,
 
I have created a color scheme, and I feel to be ready with it. With some minor changes I use it for couple of weeks. I would like to ask someone to test for me and give some good feedback. I intend to publish it.....
 
Anyone interested?
 
Thx in advance....
 
Gabor

--
Linux is like a wigwam: no Gates, no Windows and an Apache inside.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

#136603 From: Marco <netuse@...>
Date: Mon Mar 4, 2013 9:32 am
Subject: Re: Color scheme
netuse@...
Send Email Send Email
 
On 2013–03–04 Gabor Urban wrote:

> I have created a color scheme, and I feel to be ready with it. With some
> minor changes I use it for couple of weeks. I would like to ask someone to
> test for me and give some good feedback. I intend to publish it.....

Why not doing it the other way round, publish and wait for feedback?

10 After the feedback
20 you release a new version
30 GOTO 10

Don't hesitate. What are you waiting for?

Marco

Messages 136574 - 136603 of 137837   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help