Created
July 10, 2025 17:11
-
-
Save kmatt/41f3aac9e44a5cf1b27a76c83d8ded92 to your computer and use it in GitHub Desktop.
Revisions
-
kmatt created this gist
Jul 10, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,42 @@ Using https://github.com/dandavison/delta ~/.gitconfg ``` [core] pager = delta [interactive] diffFilter = delta [delta] navigate = true # use n and N to move between diff sections side-by-side = true ``` ~/.config/zed/tasks.json ```json [ { "label": "gitdiff", "command": "git diff $ZED_FILENAME" } ] ``` ~/.config/zed/keymap.json ```json [ { "context": "Editor", "bindings": { "alt-g": [ "task::Spawn", { "task_name": "gitdiff", "reveal_target": "center" } ] } } ] ```