Update Home
+21
-2
@@ -29,17 +29,36 @@ You have on the release page the binary of the editor already compile and ready
|
|||||||
|
|
||||||
Here is a list of none exhaustive builtins functions.
|
Here is a list of none exhaustive builtins functions.
|
||||||
|
|
||||||
|
## Add-prefix
|
||||||
|
### Syntax
|
||||||
|
|
||||||
|
```lisp
|
||||||
|
(add-prefix "prefix-name")```
|
||||||
|
|
||||||
|
### Description
|
||||||
|
The `add-prefix` function create a new prefix that can be used for `map-keys`. The default prefix is "no-prefix" and should be used for normal uses in map-keys.
|
||||||
|
|
||||||
|
## editor-set-prefix
|
||||||
|
### Syntax
|
||||||
|
|
||||||
|
```lisp
|
||||||
|
(editor-set-prefix "prefix-name")
|
||||||
|
```
|
||||||
|
|
||||||
|
### Description
|
||||||
|
The `add-prefix` function changes the current prefix state to the new one.
|
||||||
|
|
||||||
## Map-key
|
## Map-key
|
||||||
|
|
||||||
### Syntax
|
### Syntax
|
||||||
|
|
||||||
``` lisp
|
``` lisp
|
||||||
(map-key "key-binds" command)
|
(map-key "key-binds" command "prefix")
|
||||||
```
|
```
|
||||||
|
|
||||||
### Description
|
### Description
|
||||||
|
|
||||||
The `map-key` function allows you to link lisp function (or builtins CLispFunction) to key sequences.
|
The `map-key` function allows you to link lisp function (or builtins CLispFunction) to key sequences with a certain prefix.
|
||||||
|
|
||||||
## Define
|
## Define
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user