tech:notes_vimdiff
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:notes_vimdiff [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | 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 | ||
| - | == Notes vimdiff | + | |
| + | ~~~bash | ||
| + | git difftool --tool-help | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## diff | ||
| + | |||
| + | ~~~ | ||
| + | -w, --ignore-all-space | ||
| + | Ne tenir compte d' | ||
| + | |||
| + | -B, --ignore-blank-lines | ||
| + | Ne pas tenir compte des lignes vides. | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | diff -w -B / | ||
| + | diff -y --width=160 fic1 fic2 | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## 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 62: | 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.1742825205.txt.gz · Dernière modification : de 127.0.0.1
