Hi Ben!

On Do, 17 Mai 2012, Ben Fritz wrote:

> On Wednesday, May 16, 2012 8:39:58 PM UTC-5, JohnBeckett wrote:
> > howardb21 wrote:
> > > I want to write a user command that executes this command:
> > >
> > > :abbreviate <exrc> ihs somefunction(ihs,irs) <CR>
> > >
> > > where ihs and irs are strings
> > 
> > I expect you mean <expr> and not <exrc>?
> > 
> > I must have missed the original thread, but I think it would be
> > good to start again with a statement of what problem needs to be
> > solved. I'm wondering why 'ihs' appears twice, and what would
> > you want the user command to be?
> > 
> > How about a simple example showing what you would like to enter
> > and what it should do.
> > 
> 
> It's been a while, but I have a vague memory. I think he's trying to set up 
> an abbreviation the same way in a loop or function or something, with 
> different left side and right side.
> 
> I think he wants something like:
> 
> exec 'abbreviate <expr> '.lhs.' somefunction('.lhs.','.rhs.')'
> 
> But I'd need to dig up the old thread to be sure.
> 
> Or howardb21, you could post the actual problem again.

I think it started here:
http://groups.google.com/group/vim_use/msg/5d2c72f422a76745

regards,
Christian
-- 

-- 
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

Reply via email to