summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-03-23 14:25:36 -0400
committerpommicket <pommicket@gmail.com>2023-03-23 14:25:36 -0400
commitf47b513f8ac32d5eeebc1de187232c99751562a2 (patch)
treed8ad7dcf3c197d7b9e82ee9691952c84810dfbb6 /README.md
parent9b572a245f8b348dd6c0df9eab2637d445b61fbc (diff)
add macro information to README
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 71f1fed..dd64d72 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ in other editors.
- Go to definition
- Go to line number
- Indent/dedent selection, comment/uncomment selection
+- Keyboard macros
## Getting started with ted
@@ -115,6 +116,15 @@ No matter what you should include a built-in theme (even if you
replace every single color), because more colors may be added to ted in the future,
and you will want them to be set to something reasonable.
+## Keyboard macros
+
+To record a macro, press Ctrl+F1/2/3/etc. While recording a macro,
+you won't be able to click or drag (this is to make sure your macro works consistently).
+Then press Ctrl+F*n* again to stop recording. You can execute the macro with Shift+F*n*.
+
+Currently macros are always lost when ted is closed. The ability to save macros will probably
+be added eventually.
+
### IDE-like features
If you are working in a compiled language, like C, you can press F4 to compile your code. The default is to run `make` in