शुरुआत
सुविधाएँ
- भाषा syntax highlighting: bat जैसे ही syntax highlighting themes का उपयोग किया जा सकता है।
- शब्द-स्तरीय diff highlighting: Levenshtein edit inference algorithm का उपयोग।
- side-by-side view: line wrapping के साथ।
- line numbers दिखाना.
- फ़ाइलों के बीच नेविगेशन: बड़े diff में
n और N keys से फ़ाइलों के बीच जाया जा सकता है।
- बेहतर merge conflict display.
- बेहतर git blame display: syntax highlighting और commit को hosting provider links के रूप में फ़ॉर्मैट करने की क्षमता।
- grep output syntax highlighting:
rg, git grep, grep आदि का समर्थन।
- Git के
--color-moved feature का समर्थन.
- कोड कॉपी करना संभव: डिफ़ॉल्ट रूप से
-/+ markers हटा दिए जाते हैं।
diff-highlight और diff-so-fancy emulation modes.
- commit hashes को terminal hyperlinks के रूप में फ़ॉर्मैट किया जा सकता है.
- स्टाइल किए जा सकने वाले box/line decorations: commit, file, chunk header sections को highlight करने के लिए।
- style strings का समर्थन: 20 से अधिक style elements के लिए foreground color, background color, और font attributes का उपयोग किया जा सकता है।
- पारंपरिक unified diff output और git output का प्रसंस्करण.
- हल्के/गहरे terminal background का स्वतः पता लगाना.
Git, diff, grep आउटपुट के लिए syntax-highlighted pager
- Delta कोड में हुए बदलावों का कुशल और सुखद विश्लेषण करने में मदद करता है।
- layout और style को व्यापक रूप से बदला जा सकता है, और चाहें तो इसे डिफ़ॉल्ट git/diff output के क़रीब रखा जा सकता है।
Syntax highlighting themes
- bat जैसे ही syntax highlighting color themes का उपयोग किया जा सकता है:
delta --show-syntax-themes --dark
delta --show-syntax-themes --light
Side-by-side view
- डिफ़ॉल्ट रूप से side-by-side view में line numbers enabled होते हैं, और बाएँ व दाएँ दोनों panels पर syntax highlighting लागू होती है।
Line numbers
delta configuration में line numbers को enable किया जा सकता है।
Merge conflicts
- merge conflicts को संभालने के लिए user manual देखा जा सकता है।
Git blame
- user manual के ज़रिए git blame को बेहतर बनाया जा सकता है।
Ripgrep, git grep
- user manual के अनुसार ripgrep और git grep output को syntax-highlight किया जा सकता है।
इंस्टॉलेशन और उपयोग
- user manual और
delta --help को देखा जा सकता है।
मेंटेनर
1 टिप्पणियां
Hacker News राय
catकोbatके alias के रूप में इस्तेमाल किया जा रहा हैgit diff --color-words --word-diff-regex='\w+|.'कमांड का उपयोग करेंgit config --global --replace-all delta.max-line-length 0सेटिंग से हल हो जाती हैgit diffटूल को colors के साथ इस्तेमाल किया गया, लेकिन Delta बहुत ज़्यादा complex लगा