Re: How to recognize different matching classes

2006-06-24 Thread Luc Hermitte
Hello, * On Sat, Jun 24, 2006 at 08:52:47AM +0800, Dr Bean <[EMAIL PROTECTED]> wrote: > On Fri, 23 Jun 2006, [EMAIL PROTECTED] wrote: > > > PPS: In lh-cpp.tar.gz, you will find many examples of use. The > > patched, but not yet uploaded, version contains the following > > context-aware mappings a

Re: Script to create automatic case statements

2006-06-24 Thread Luc Hermitte
Hello, * On Fri, Jun 23, 2006 at 08:34:23AM -0700, Max Dyckhoff <[EMAIL PROTECTED]> wrote: > If there are many values for the enum then I will generally jump to > the tag and do as you do; copy the values and do an :s on them. What I > was wondering though was basically "can I make vim insert eve

Using tags to quick complete funtion names

2006-06-24 Thread Marc Weber
Hi. I'm tired of writing things like getBlahFoo using getB is fine, but why type "et"? That's why I've written this complete function: Now you can type BF to expand it to getBlahFoo it uses the created regexpr B.*F.* to filter all tags = start ==

Re: Using tags to quick complete funtion names

2006-06-24 Thread Marc Weber
Here is a enhanced regular expression which is more useful " this is tricky, either , or or lower to Upper change or Upper Upper " lower will trigger inserting .* " you type -> regex to match tags " inP -> in.*P " Aab -> Aab " ABab -> AB.*ab " A,ab -> A.*ab let pat

Re: How to recognize different matching classes

2006-06-24 Thread Dr Bean
On Sat, 24 Jun 2006, Luc Hermitte wrote: > * On Sat, Jun 24, 2006 at 08:52:47AM +0800, Dr Bean > <[EMAIL PROTECTED]> wrote: > > On Fri, 23 Jun 2006, [EMAIL PROTECTED] wrote: > > > "--ifinsert "if" statement {{{ > > > Inoreabbr if =Def_AbbrC('if ', > > > \ '\if (!cu

completion popup

2006-06-24 Thread Rui Homem
Hi all! In insert mode i get a popup menu (using xterm) for completion commands and for spell checking. Is it possible to use this when making spell checking in command mode? What i would like is to map rigth mouse click to this popup menu and use it in command mode for spell cheking instead of th

Re: spell: zw/zW doesn't work

2006-06-24 Thread Luis A. Florit
* El 23/06/06 a las 11:32, Bram Moolenaar chamullaba: > Luis A. Florit wrote: > > > Are you able to make zw/zW work for the spell feature in Vim 7.0? > > For me, they just do nothing. The spellfiles are not changed. > > ':spellw[rong]! {word}' also doesn't work, it does nothing. > > No chang

Re: search '/' command

2006-06-24 Thread Eric Arnold
I'll put in a plug for my GetChar event patch, which would allow this :-) On 6/22/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote: On Thu, 22 Jun 2006 at 5:36pm, Jason Frerich wrote: > How can I tell the search '/' command to perform a task after typing > each letter on the pattern line. > >

RE: Script to create automatic case statements

2006-06-24 Thread Hari Krishna Dara
On Fri, 23 Jun 2006 at 7:42pm, Gerald Lai wrote: > On Fri, 23 Jun 2006, Max Dyckhoff wrote: > > > If there are many values for the enum then I will generally jump to the > > tag and do as you do; copy the values and do an :s on them. What I was > > wondering though was basically "can I make vim i

Re: Using tags to quick complete funtion names

2006-06-24 Thread Hari Krishna Dara
On Sat, 24 Jun 2006 at 7:12pm, Marc Weber wrote: > Hi. > I'm tired of writing things like > getBlahFoo > using getB is fine, but why type "et"? > > That's why I've written this complete function: > Now you can type BF to expand it to getBlahFoo > it uses the created regexpr B.*F.* to filter all t