diff options
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | main.c | 1 |
2 files changed, 11 insertions, 0 deletions
@@ -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 @@ -13,6 +13,7 @@ FUTURE FEATURES: if there are too many files, give an error like "use a different tool for this" - config variables - bind key to multiple commands + - convert macro to command list - plugins? - TED_PLUGIN macro defined before including ted.h this can remove struct definitions to guarantee forwards compatibility |