Difference between revisions of "Yasnippet"

From WikEmacs
Jump to: navigation, search
(added yasnippet page)
 
Line 2: Line 2:
 
|name=yasnippet
 
|name=yasnippet
 
|description=template system for Emacs
 
|description=template system for Emacs
 +
|author=João Távora
 
|maintainer=João Távora
 
|maintainer=João Távora
 
|source=https://github.com/capitaomorte/yasnippet
 
|source=https://github.com/capitaomorte/yasnippet

Revision as of 07:12, 2 April 2012

yasnippet
Description template system for Emacs
Author João Távora
Maintainer João Távora
Source https://github.com/capitaomorte/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.

Basic setup

(add-to-list 'load-path "~/.emacs.d/plugins/yasnippet")
(require 'yasnippet)
(yas/global-mode 1)

Helpful keybindings

[Tab]
Expand snippet.

Common Customization

See Also

Project Pages

Tutorial Pages