diff options
Diffstat (limited to 'manual/src/tips-and-tricks/using-delta-with-vscode.md')
-rw-r--r-- | manual/src/tips-and-tricks/using-delta-with-vscode.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manual/src/tips-and-tricks/using-delta-with-vscode.md b/manual/src/tips-and-tricks/using-delta-with-vscode.md new file mode 100644 index 00000000..3deafbbb --- /dev/null +++ b/manual/src/tips-and-tricks/using-delta-with-vscode.md @@ -0,0 +1,13 @@ +# Using Delta with VSCode + +All Delta features work correctly in VSCode's terminal emulator (please open an issue if that's not true). + +To format file links for opening in VSCode from other terminal emulators, use the [VSCode URL handler](https://code.visualstudio.com/docs/editor/command-line#_opening-vs-code-with-urls): + +```gitconfig +[delta] + hyperlinks = true + hyperlinks-file-link-format = "vscode://file/{path}:{line}" +``` + +(To use VSCode Insiders, change that to `vscode-insiders://file/{path}:{line}`). |