help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Don't you think this would be a nice feature? (Place holder)


From: Martin Dahl
Subject: Re: Don't you think this would be a nice feature? (Place holder)
Date: Sun, 28 Sep 2008 13:41:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Weiwei <shuww1980@gmail.com> writes:

> Thanks Tim. The problem I try to state is how to quickly jump to
> places which is already there. I never used tempo, but have a little
> bit of experience with skeleton. I defined a skeleton which helps me
> to insert the following environment by typing "isub" followed by
> space:
>
> \begin{figure}[H]
>   \centering
>   \subfigure[]{\includegraphics[width=3.1in]{}}
>   \subfigure[]{\includegraphics[width=3.1in]{}}
>   \caption{}
>   \label{fig:}
> \end{figure}
>
> Now the cursor is in between the first "[]". After I type something, I
> want to jump to "{}" in the same line to fill the eps filename. Can
> skeleton or tempo do this job? I have used a third-party template mode
> before (not tempo though), and it let me fill staff such as date,
> author, etc. in the minibuffer, which I feel not that convenient.
> Correct me if skeleton or tempo is able to do the job and I will give
> them a try. Thanks!
>
> Weiwei
>

I think yasnippet might be what you are looking for. It allows you to
jump beetween predefined points in inserted text with the tab key.

http://code.google.com/p/yasnippet/

--
Martin Dahl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]