Skip to content

Commit

Permalink
Tweak branch switching commands
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey committed Apr 16, 2024
1 parent 303d9c0 commit 77bca4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/vscode/vscode.talon
Original file line number Diff line number Diff line change
Expand Up @@ -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")
<user.show_list> branch [<user.text>] [halt]:
(<user.show_list> branch | branchless | branch <user.show_list>) [<user.text>] [halt]:
user.vscode("git.checkout")
sleep(50ms)
user.insert_formatted(text or "", "DASH_SEPARATED,ALL_LOWERCASE")
Expand All @@ -299,7 +299,7 @@ branch make [<user.text>] [halt]:
sleep(50ms)
"pokey/"
user.insert_formatted(text or "", "DASH_SEPARATED,ALL_LOWERCASE")
<user.teleport> branch {user.git_branch}:
(<user.teleport> branch | branchless | branch <user.teleport>) {user.git_branch}:
user.vscode("git.checkout")
sleep(450ms)
"{git_branch}"
Expand Down

0 comments on commit 77bca4d

Please sign in to comment.