Skip to content

ifree/emacs-file-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

File template

Tool for emacs to load file template when create new file, or load project template.

Feature

auto load template when create files

eg: you can auto create header guard for c++ header files.

make project structure by load project template

A template is not just single file, it also can organized as directory that contains a set of template.

dependencies

yasnippet

As a emacs user, I think yasnippet should be a must have tool, It’s very useful for auto insert code snippets. Now you can use yasnippet’s syntax to create template, that’s easy.

configuration

;;file template
(setq file-template-enabled t) ;;enable file template
(autoload 'file-template-setup "filetemplate" nil t) ;;auto load
(file-template-setup) ;; setup

happy coding!

About

file template for emacs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published