Update home
+55
-1
@@ -1 +1,55 @@
|
|||||||
# Welcome to the Wiki.
|
# Beluga Wiki
|
||||||
|
|
||||||
|
# Presentation
|
||||||
|
|
||||||
|
Beluga is an open source text editor with lisp configuration files.
|
||||||
|
Several builtins functions are available, but you can create yours with lisp syntax.
|
||||||
|
|
||||||
|
# Functions
|
||||||
|
|
||||||
|
Here is a list of none exhaustive builtins functions.
|
||||||
|
|
||||||
|
## Map-key
|
||||||
|
|
||||||
|
### Syntax
|
||||||
|
|
||||||
|
``` lisp
|
||||||
|
(map-key "key-binds" command)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Description
|
||||||
|
|
||||||
|
The `map-key` function allows you to link lisp function (or builtins CLispFunction) to key sequences.
|
||||||
|
|
||||||
|
## Define
|
||||||
|
|
||||||
|
### Syntax
|
||||||
|
``` lisp
|
||||||
|
(define macro value)
|
||||||
|
```
|
||||||
|
or
|
||||||
|
``` lisp
|
||||||
|
(define function-name (lisp-code)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Description
|
||||||
|
|
||||||
|
The `define` function defines macros and functions that you will reuse in your code.
|
||||||
|
|
||||||
|
# Key-binds
|
||||||
|
|
||||||
|
Key-binds are defines with macro on key names.
|
||||||
|
|
||||||
|
| key-name | macro |
|
||||||
|
|-------------|-------------|
|
||||||
|
| arrow right | ARROW-RIGHT |
|
||||||
|
| arrow left | ARROW-LEFT |
|
||||||
|
| arrow up | ARROW-UP |
|
||||||
|
| arrow down | ARROW-DOWN |
|
||||||
|
| enter | ENTER |
|
||||||
|
| backspace | BACKSPACE |
|
||||||
|
| delete | DEL |
|
||||||
|
| page up | PAGE-UP |
|
||||||
|
| page down | PAGE-DOWN |
|
||||||
|
| control | CTRL-letter |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user