37
Text editor with predefined text snippets?
(lemdro.id)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Pulsar (i.e. active fork of Atom) has a pretty comprehensive snippets package that comes bundled with the editor. Can be configured with some fairly simple
cson
, for example with Markdown:You type
helem
then presstab
and it will expand toHello Lemmy!
when using the Markdown grammar (source.gfm
).It can handle custom tab stops too so you can make a longer preformatted sentence with gaps to insert words which you can just tab through (the
$1, $2, $3
).You can even do multi-line snippets. For anyone wanting to try it out the docs are here