[O] shorcut for #+BEGIN_xxx ... #+END_xxx
Hello the list, I am sorry to ask a so elementary question but I would be happy to get a mean to have, like with CDlatex or like in LaTeX a shortcut to get #+BEGIN_my_choice_of_environment #+END_my_choice_of_environment I know that there is s TAB for source , l TAB for latex and so on, but it would maybe be useful to choice the environment, like with C-e in LateX + auctex, or like with C { with CD latex. Help and suggestions are welcome. Best wishes Jo.
Re: [O] shorcut for #+BEGIN_xxx ... #+END_xxx
2014-08-14 12:00 GMT+02:00 Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com: like with C-e in LateX + auctex, or like with C { with CD latex. sorry: Cc-Ce and Cc { ...
Re: [O] shorcut for #+BEGIN_xxx ... #+END_xxx
Hi Joseph, Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: Hello the list, I am sorry to ask a so elementary question but I would be happy to get a mean to have, like with CDlatex or like in LaTeX a shortcut to get #+BEGIN_my_choice_of_environment #+END_my_choice_of_environment I know that there is s TAB for source , l TAB for latex and so on, but it would maybe be useful to choice the environment, like with C-e in LateX + auctex, or like with C { with CD latex. Help and suggestions are welcome. Not quite what you are asking for, but have you seen the variable `org-structure-template-alist'? It still requires you to add each completion. That being said, it probably wouldn't be too hard to write something like the prompt of cdlatex. —Rasmus -- And I faced endless streams of vendor-approved Ikea furniture. . .
Re: [O] shorcut for #+BEGIN_xxx ... #+END_xxx
Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: I know that there is s TAB for source , l TAB for latex and so on, but it would maybe be useful to choice the environment, like with C-e in LateX + auctex, or like with C { with CD latex. See: https://github.com/fniessen/org-auctex-key-bindings/blob/master/org-auctex-keys.el The function org-auckeys-environment I think it does what you want. you also have C-c C-v C-d for src blocks and selecting the language with completion. -- Nico.
Re: [O] shorcut for #+BEGIN_xxx ... #+END_xxx
Many thanks Nicolas. I like Fabrice Niessen's work and I'm using leuven-theme, it is in my opinion very efficient to work with org-mode. So I have tried immediately this org-acutex-keys-el. But as I had a message error referring to the variable org-structure-template-alist , I have succeeded to customize this variable as I want, and in fact I do not need org-acutex-keys-el , all works perfectly with key TAB, and I keep Cc-Ce to export, as usual with org-mode. But again, thanks , to you and to Rasmus. Jo. 2014-08-14 15:18 GMT+02:00 Nicolas Richard theonewiththeevill...@yahoo.fr: Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: I know that there is s TAB for source , l TAB for latex and so on, but it would maybe be useful to choice the environment, like with C-e in LateX + auctex, or like with C { with CD latex. See: https://github.com/fniessen/org-auctex-key-bindings/blob/master/org-auctex-keys.el The function org-auckeys-environment I think it does what you want. you also have C-c C-v C-d for src blocks and selecting the language with completion. -- Nico.