Questions tagged [yasnippet]

YASnippet is a template system for Emacs. It allows you to type an abbreviation and automatically expand it into function templates. Bundled language templates includes: C, C++, C#, Perl, Python, Ruby, SQL, LaTeX, HTML, CSS and more.

107 questions
0
votes
2 answers

Emacs function: [pre] marked region [post]

Selecting region, how to get a (pre)defined part before and after region? Let's say for instance, working with LaTeX, we want \begin{frame}{} before the region and \end{frame} after region, how to get this done with Emacs by one function? …
PascalVKooten
  • 20,643
  • 17
  • 103
  • 160
0
votes
2 answers

how to autoload the menu bar in emacs

I have installed YaSnippet in my emacs. Every time I start emacs, I have to turn on the menu bar manually by M-x menu-bar-mode, how do I load it by default ? Also strangely the YaSnippet menu shows up the first time the menu bar comes up, however…
murtaza52
  • 46,887
  • 28
  • 84
  • 120
1 2 3 4 5 6 7
8