From c14c380353a0cfd5aa4ba79517ebec4ff2e274af Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Sat, 3 Aug 2024 18:53:39 +0200 Subject: [PATCH] Deprecate lend and bend commands (#1514) Fixes #1450 --------- Co-authored-by: Nicholas Riley --- BREAKING_CHANGES.txt | 1 + tags/line_commands/line_commands.talon | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/BREAKING_CHANGES.txt b/BREAKING_CHANGES.txt index 40794c0794..c0ddd88698 100644 --- a/BREAKING_CHANGES.txt +++ b/BREAKING_CHANGES.txt @@ -6,6 +6,7 @@ applied given the delay between changes being submitted and the time they were r and merged. --- +* 2024-07-30 Deprecate `lend` and `bend` commands in favor of `go line end | tail` and `go line start | head`. * 2024-07-28 Removed the following actions in favor of the new action/modifier grammar. https://github.com/talonhub/community/blob/37a8ebde90c8120a0b52555030988d4f54e65159/core/edit/edit.talon#L3 cut_word, copy_word, paste_word diff --git a/tags/line_commands/line_commands.talon b/tags/line_commands/line_commands.talon index 1ca6113920..cf617394b7 100644 --- a/tags/line_commands/line_commands.talon +++ b/tags/line_commands/line_commands.talon @@ -1,8 +1,12 @@ tag: user.line_commands - #this defines some common line commands. More may be defined that are ide-specific. -lend: edit.line_end() -bend: edit.line_start() +lend: + user.deprecate_command("2024-07-30", "lend", "go line end | tail") + edit.line_end() +bend: + user.deprecate_command("2024-07-30", "bend", "go line start | head") + edit.line_start() go : edit.jump_line(number) go end: edit.jump_line(number)