aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorIvan Tham2021-12-12 13:54:14 +0000
committerBlaž Hrastnik2021-12-27 01:13:18 +0000
commitb9cb3930e2838347a97f501e025ee52ea377ed52 (patch)
tree64370f0149d2a56a99adb2bf2f1e1a78daf46f0d /helix-term/src
parent9a32617b3093ce6ab3b925d9f1c6b17218c1b491 (diff)
Mark macros as experimental in docs
Given that currently macro does not integrate well with registers and the internal representation of macros is expected to be changed.
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/commands.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index ac42682f..d0a94160 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -6031,6 +6031,7 @@ fn record_macro(cx: &mut Context) {
fn replay_macro(cx: &mut Context) {
let reg = cx.register.unwrap_or('@');
+ // TODO: macro keys should be parsed one by one and not space delimited (see kak)
let keys: Vec<KeyEvent> = if let Some([keys]) = cx.editor.registers.read(reg) {
match keys.split_whitespace().map(str::parse).collect() {
Ok(keys) => keys,