aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-04-01 17:13:28 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-04-01 17:13:28 -0400
commit50071cd72c12ef6ab31cd257ee2339bf2b1980c1 (patch)
tree9612b245266620429e75a716eaf16faf5a9109d4 /doc/manual
parentfee0fc9249ca14b39246e23ba60e99dd1a32387c (diff)
downloadtextadept-50071cd72c12ef6ab31cd257ee2339bf2b1980c1.tar.gz
textadept-50071cd72c12ef6ab31cd257ee2339bf2b1980c1.zip
Updated manual; doc/manual/9_Preferences.md
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/9_Preferences.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual/9_Preferences.md b/doc/manual/9_Preferences.md
index ab856bae..16791ef5 100644
--- a/doc/manual/9_Preferences.md
+++ b/doc/manual/9_Preferences.md
@@ -67,8 +67,8 @@ more information, see the [scripting](11_Scripting.html) page.
You can add global snippets to `_G.snippets` such as:
- _G.snippets['file'] = '%(buffer.filename)'
- _G.snippets['path'] = "%((buffer.filename or ''):match('^.+[/\\]'))"
+ _G.snippets['file'] = '%<buffer.filename>'
+ _G.snippets['path'] = "%<(buffer.filename or ''):match('^.+[/\\]')>"
So typing `file` or `path` and then pressing `Tab` will insert the snippet.
@@ -80,7 +80,7 @@ Textadept. Instead, modify `_G.keys` from within your `~/.textadept/init.lua` or
from a file loaded by `~/.textadept/init.lua`. For example maybe you want
`Alt+N` to create a new buffer instead of `Ctrl+N`:
- _G.keys.an = { new_buffer }
+ _G.keys.an = new_buffer
_G.keys.cn = nil
## Locale