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 o

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 map

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,

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 f foreach Correction. I wanted to write: :imap f foreach Yakov

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 foreach... Makes total of 2 keys+ meta key. ;) with this mapping " opens the ftp plugin file with _mw appended map :exec 'e ~/.vim/ftplugin/'.&filetype.'_mw.vim' and " inswerts th

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

2006-07-12 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? Alth

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() {}k$3hi > > > > The end result being that when I type: > > > > foreach > > > > I should get > > > > foreach() { > > } > > Sounds more like you're reaching for an abbr

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() {}k$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 control+V foll

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() {}k$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 mapping.