On Thu, 19 May 2005, Paul A. Rubin wrote:
> Angus Leeming wrote:
> Is there a way to bind a key combination to an ERT box containing
> \noindent? (I've never tried to create a key binding to produce ERT --
> that I can recall, at least.)
Sure, I do that alot. This comes from my my.bind
\bind M-r "command-sequence ert-insert; self-insert \\rb{} ; inset-toggle"
It creates an ERT, inserts \rb{} and then closes it.
/johan
--
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas <--- Walking robot proj
tel +46 (0)8 790 95 36 mob. +46 (0)70 34 34 498