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
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
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,
On 7/13/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
:imap f foreach
Correction. I wanted to write:
:imap f foreach
Yakov
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
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
--- 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
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
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.