emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: short way to insert source tag in org mode?


From: Matt Lundin
Subject: [Orgmode] Re: short way to insert source tag in org mode?
Date: Sun, 27 Sep 2009 13:28:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin)

Water Lin <address@hidden> writes:

> While I am using org to publish my source code, I include my code in
> following way:
>
> #+BEGIN_SRC emacs-lisp
> some emacs-lisp code
> #+END_SRC
>
> Everytime I copy the begin and the end tag which is
>
> #+BEGIN_SRC emacs-lisp
>
> and
>
> #+END_SRC
>
> to my org file.
>
> I want to find a way to inset them handly. Is there a key binding for
> this?

It's an experimental feature, but I use "<s" for this. And "<l" for
latex, "<h" for html, etc. (I certainly do hope that this becomes an
official feature at some point.)

See the variable org-structure-template-alist.

- Matt





reply via email to

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