Update permute_any_mods.md

This commit is contained in:
Benoit de Chezelles authored and Wez Furlong committed 2020-11-23 17:22:21 -08:00
1 parent 2963520a1e
commit eee40f7d17
1 file changed
+2 -1
+2 -1
View File
@@ -15,7 +15,7 @@ difference between `permute_any_mods` and `permute_any_or_no_mods`).
An array holding all of those combinations is returned.
The array can be unpacked into a lua table initializer and used like this:
If this is your only binding, or it is the _last_ binding, the resulting array can be unpacked into a lua table initializer and used like this:
```lua
local wezterm = require 'wezterm';
@@ -29,6 +29,7 @@ return {
}
}
```
(and if you have other bindings before and/or after, use a for loop to iterate and add each binding to your bindings table)
This is equivalent to writing this out, but is much less verbose: