From 73fa5e755524c5b09e3709cee09c31449cc2a0c9 Mon Sep 17 00:00:00 2001 From: Arthur Barraux Date: Sun, 5 Oct 2025 21:25:48 +0200 Subject: [PATCH] Update home --- Home.md | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/Home.md b/Home.md index 7aab167..1c4619b 100644 --- a/Home.md +++ b/Home.md @@ -1 +1,55 @@ -# Welcome to the Wiki. \ No newline at end of file +# 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 | +