tech:notes_vimdiff
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:notes_vimdiff [2025/03/24 18:02] – [Notes diff] Jean-Baptiste | tech:notes_vimdiff [2025/11/07 10:20] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| {{tag> | {{tag> | ||
| - | = Notes diff | + | # Notes diff |
| Voir : | Voir : | ||
| Ligne 31: | Ligne 32: | ||
| * diff | * diff | ||
| * sdiff | * sdiff | ||
| + | * jsondiff | ||
| + | |||
| + | |||
| + | |||
| + | ~~~bash | ||
| + | git difftool --tool-help | ||
| + | ~~~ | ||
| Ligne 45: | Ligne 53: | ||
| ~~~bash | ~~~bash | ||
| diff -w -B / | diff -w -B / | ||
| + | diff -y --width=160 fic1 fic2 | ||
| ~~~ | ~~~ | ||
| - | == Notes vimdiff | + | ## Notes vimdiff |
| Installation | Installation | ||
| - | < | + | ~~~bash |
| apt-get update && apt-get install vim | apt-get update && apt-get install vim | ||
| - | </ | + | ~~~ |
| Syntaxe | Syntaxe | ||
| - | < | + | ~~~bash |
| vimdiff fichier1.txt fichier2.txt | vimdiff fichier1.txt fichier2.txt | ||
| - | </ | + | ~~~ |
| FIXME : Exemple avec Git, liens kdiff3 | FIXME : Exemple avec Git, liens kdiff3 | ||
| Ligne 77: | Ligne 86: | ||
| '' | '' | ||
| - | == Hexa | + | |
| + | ## Hexa | ||
| Voir aussi : | Voir aussi : | ||
| * hexadiff | * hexadiff | ||
| - | < | + | ~~~bash |
| colordiff -y <(xxd debian-10.3.0-amd64-netinst.iso |head -10000) <(xxd debian-10.3.0-amd64-netinst-uefi.iso |head -10000) |more | colordiff -y <(xxd debian-10.3.0-amd64-netinst.iso |head -10000) <(xxd debian-10.3.0-amd64-netinst-uefi.iso |head -10000) |more | ||
| - | </ | + | ~~~ |
tech/notes_vimdiff.1742835755.txt.gz · Dernière modification : de Jean-Baptiste
