Skip to content

Commit

Permalink
Add recommended snip shortcuts (#1333)
Browse files Browse the repository at this point in the history
- These shortcuts are unambiguous for navigating snippets in VSCode

Thanks to @AndreasArvidsson for [the
example](https://github.com/AndreasArvidsson/andreas-talon/blob/59cfecd26c3a01e72847364f6cafb5cdb8202b1b/apps/vscode/vscode.talon#L239)

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
jaresty and pre-commit-ci[bot] authored Dec 16, 2023
1 parent fcf068f commit ccf8b48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/vscode/vscode.talon
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ show shortcuts: user.vscode("workbench.action.openGlobalKeybindings")
show shortcuts json: user.vscode("workbench.action.openGlobalKeybindingsFile")
show snippets: user.vscode("workbench.action.openSnippets")

# VSCode Snippets
snip (last | previous): user.vscode("jumpToPrevSnippetPlaceholder")
snip next: user.vscode("jumpToNextSnippetPlaceholder")

# Display
centered switch: user.vscode("workbench.action.toggleCenteredLayout")
fullscreen switch: user.vscode("workbench.action.toggleFullScreen")
Expand Down

0 comments on commit ccf8b48

Please sign in to comment.