mirror of
https://github.com/turtlebasket/env.git
synced 2026-03-04 19:44:26 -08:00
git split diffs tool
This commit is contained in:
21
config/git-split-diffs/README.md
Normal file
21
config/git-split-diffs/README.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
## Info
|
||||||
|
|
||||||
|
Using: https://github.com/banga/git-split-diffs/
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Install
|
||||||
|
npm install -g git-split-diffs
|
||||||
|
|
||||||
|
# Install (with mouse scrolling)
|
||||||
|
git config --global core.pager "git-split-diffs --color | less -+LFX"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Custom Theme ([info](https://github.com/banga/git-split-diffs/tree/v2.2.0?tab=readme-ov-file#custom-themes))
|
||||||
|
|
||||||
|
Copy JSON themes to `~/.git-split-diffs-themes`, then:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git config --global split-diffs.theme-directory ~/.git-split-diffs-themes
|
||||||
|
git config --global split-diffs.theme-name transparent
|
||||||
|
```
|
||||||
|
|
||||||
59
config/git-split-diffs/transparent.json
Normal file
59
config/git-split-diffs/transparent.json
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
"SYNTAX_HIGHLIGHTING_THEME": "dark",
|
||||||
|
"DEFAULT_COLOR": {
|
||||||
|
"color": "#768390",
|
||||||
|
"backgroundColor": "#00000000"
|
||||||
|
},
|
||||||
|
"COMMIT_HEADER_COLOR": {
|
||||||
|
"color": "#adbac7",
|
||||||
|
"backgroundColor": "#00000000"
|
||||||
|
},
|
||||||
|
"COMMIT_HEADER_LABEL_COLOR": {},
|
||||||
|
"COMMIT_SHA_COLOR": {},
|
||||||
|
"COMMIT_DATE_COLOR": {},
|
||||||
|
"COMMIT_AUTHOR_COLOR": {},
|
||||||
|
"COMMIT_MESSAGE_COLOR": {
|
||||||
|
"color": "#909dab",
|
||||||
|
"backgroundColor": "#00000000"
|
||||||
|
},
|
||||||
|
"COMMIT_TITLE_COLOR": {
|
||||||
|
"color": "#c6e6ff",
|
||||||
|
"modifiers": ["bold"]
|
||||||
|
},
|
||||||
|
"BORDER_COLOR": {
|
||||||
|
"color": "#444c56",
|
||||||
|
"backgroundColor": "#00000000"
|
||||||
|
},
|
||||||
|
"FILE_NAME_COLOR": {
|
||||||
|
"color": "#adbac7",
|
||||||
|
"backgroundColor": "#00000000"
|
||||||
|
},
|
||||||
|
"HUNK_HEADER_COLOR": {
|
||||||
|
"backgroundColor": "#00000000"
|
||||||
|
},
|
||||||
|
"DELETED_WORD_COLOR": {
|
||||||
|
"backgroundColor": "#c93c3733"
|
||||||
|
},
|
||||||
|
"INSERTED_WORD_COLOR": {
|
||||||
|
"backgroundColor": "#46954a33"
|
||||||
|
},
|
||||||
|
"DELETED_LINE_NO_COLOR": {
|
||||||
|
"color": "#e5534b",
|
||||||
|
"backgroundColor": "#c93c371a"
|
||||||
|
},
|
||||||
|
"INSERTED_LINE_NO_COLOR": {
|
||||||
|
"color": "#57ab5a",
|
||||||
|
"backgroundColor": "#46954a1a"
|
||||||
|
},
|
||||||
|
"UNMODIFIED_LINE_NO_COLOR": {},
|
||||||
|
"DELETED_LINE_COLOR": {
|
||||||
|
"backgroundColor": "#442d3080"
|
||||||
|
},
|
||||||
|
"INSERTED_LINE_COLOR": {
|
||||||
|
"backgroundColor": "#2a3c3380"
|
||||||
|
},
|
||||||
|
"UNMODIFIED_LINE_COLOR": {},
|
||||||
|
"MISSING_LINE_COLOR": {
|
||||||
|
"backgroundColor": "#2d333b80"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user