From 77bca4d3805b1b7438274c4b1cead528ecf28482 Mon Sep 17 00:00:00 2001 From: Pokey Rule <755842+pokey@users.noreply.github.com> Date: Tue, 16 Apr 2024 15:10:55 +0100 Subject: [PATCH] Tweak branch switching commands --- apps/vscode/vscode.talon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/vscode/vscode.talon b/apps/vscode/vscode.talon index 6120c0ffe5..096640d816 100644 --- a/apps/vscode/vscode.talon +++ b/apps/vscode/vscode.talon @@ -290,7 +290,7 @@ fold seven: user.vscode("editor.foldLevel7") # Git / Github (not using verb-noun-adjective pattern, mirroring terminal commands.) git branch: user.vscode("git.branchFrom") git branch this: user.vscode("git.branch") - branch [] [halt]: +( branch | branchless | branch ) [] [halt]: user.vscode("git.checkout") sleep(50ms) user.insert_formatted(text or "", "DASH_SEPARATED,ALL_LOWERCASE") @@ -299,7 +299,7 @@ branch make [] [halt]: sleep(50ms) "pokey/" user.insert_formatted(text or "", "DASH_SEPARATED,ALL_LOWERCASE") - branch {user.git_branch}: +( branch | branchless | branch ) {user.git_branch}: user.vscode("git.checkout") sleep(450ms) "{git_branch}"