Re: How do I stop a mapping from looking like a mapping?

2006-07-13 Thread Yakov Lerner
On 7/13/06, Peter Hodge [EMAIL PROTECTED] wrote: However, if I type anything beginning with 'for', the letters disappear until I type something that is not part of the mapping. I understand this is the standard behaviour, but is there any way to change it so I can see what I am typing?

Re: How do I stop a mapping from looking like a mapping?

2006-07-13 Thread Marc Weber
I'm even to lazy to type foreach. Thus I've defined mappings like this: inoremap buffer m-fm-e foreachspace... Makes total of 2 keys+ meta key. ;) with this mapping opens the ftp plugin file with _mw appended map m-s-fm-s-tm-s-p :exec 'e

Re: How do I stop a mapping from looking like a mapping?

2006-07-13 Thread Yakov Lerner
On 7/13/06, Yakov Lerner [EMAIL PROTECTED] wrote: :imap ctrl-Zf foreach Correction. I wanted to write: :imap c-Zf foreach Yakov

Re: How do I stop a mapping from looking like a mapping?

2006-07-13 Thread Hari Krishna Dara
On Thu, 13 Jul 2006 at 9:21am, Yakov Lerner wrote: On 7/13/06, Peter Hodge [EMAIL PROTECTED] wrote: However, if I type anything beginning with 'for', the letters disappear until I type something that is not part of the mapping. I understand this is the standard behaviour, but is

Re: How do I stop a mapping from looking like a mapping?

2006-07-13 Thread Yakov Lerner
On 7/13/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: On Thu, 13 Jul 2006 at 9:21am, Yakov Lerner wrote: On 7/13/06, Peter Hodge [EMAIL PROTECTED] wrote: However, if I type anything beginning with 'for', the letters disappear until I type something that is not part of the mapping. I

Re: How do I stop a mapping from looking like a mapping?

2006-07-13 Thread Peter Hodge
Hi Hari, Yakov, Thank you very much for your help! Yakov, thank you for an effective solution, Hari thank you for providing such a flexible way to use it! kind regards, Peter On Yahoo!7 Dating: It's free to join and check

How do I stop a mapping from looking like a mapping?

2006-07-12 Thread Peter Hodge
Hello all, I want to make a mapping like this: :inoremap foreach foreach() {CR}ESCk$3hi The end result being that when I type: foreach I should get foreach() { } However, if I type anything beginning with 'for', the letters disappear until I type something that is not part of the

Re: How do I stop a mapping from looking like a mapping?

2006-07-12 Thread Tim Chase
I want to make a mapping like this: :inoremap foreach foreach() {CR}ESCk$3hi The end result being that when I type: foreach I should get foreach() { } Sounds more like you're reaching for an abbreviation rather than a mapping. :iab foreach foreach() {^M}^[O where ^M is

Re: How do I stop a mapping from looking like a mapping?

2006-07-12 Thread Peter Hodge
--- Tim Chase [EMAIL PROTECTED] wrote: I want to make a mapping like this: :inoremap foreach foreach() {CR}ESCk$3hi The end result being that when I type: foreach I should get foreach() { } Sounds more like you're reaching for an abbreviation rather than