[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jump to place holder and mapping
From: |
Fabian Braennstroem |
Subject: |
Re: jump to place holder and mapping |
Date: |
31 Mar 2005 07:27:00 GMT |
User-agent: |
slrn/0.9.8.1/rt (Linux) |
Hi,
On 2005-03-30, Fabian Braennstroem <fab@ddorf.de> wrote:
> Hi,
>
> I am trying 'vim' for a while now and actually like the
> jumping to place holders indicated by '<++>' with 'C-j'. It
> is very usefull, when you have small macro/abbreviations
> including these place holders; e.g. in latex there exist a
> macro:
>
> \frac{<++>}{<++>}<++>
>
> So you are able to complete quickly the fraction.
>
> Furthermore, defining those 'macros' is pretty easy in vim
> with the 'imap' funtion; so writing in insert-mode some
> special shortcut, it expands to the wanted output with those
> place holders.
I just found 'tempo'. I think that should work for this, but
I can't find anything like placeholders...
> Does anybody have an idea how to achive this with emacs?
> Maybe, there is even a package for that!?
>
> Greetings, Fabian
Greetings, Fabian