Changes

Jump to navigation Jump to search
30 bytes added ,  13:19, 9 August 2018
no edit summary
== Snippets ==
Snippets are predefined code or text blocks. Using snippets can save a lot of time as you won't have to retype often used commands and text passages. You add snippets to your <code>USER/.textadept/init.lua</code>. Alternatively you can create a new file, e.g. <code>USER/.textadept/mysnippets.lua</code>, add all snippets to that file and load it from within your <code>init.lua</code> with the following line:
require('mysnippets') -- Exemplary file name!
In Textadept snippets look like this:
snippets.context['TRIGGERKEYWORD'] = 'PASTEDTEXT'
194

edits

Navigation menu