Outils pour utilisateurs

Outils du site


tech:notes_vimdiff

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
tech:notes_vimdiff [2025/11/07 10:20] Jean-Baptistetech:notes_vimdiff [2026/04/15 13:48] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon vim diff}}
 +
 +# Notes diff
 +
 +Voir :
 +* tardiff / pkgdiff
 +* patch
 +* kdiff3 / kdiff3-qt
 +* git diff / git difftool
 +
 +Liste outils de diffing : 
 +* opendiff
 +* kdiff3
 +* wdiff
 +* tkdiff
 +* xxdiff
 +* meld
 +* kompare
 +* gvimdiff
 +* diffuse
 +* diffmerge
 +* ecmerge
 +* p4merge
 +* araxis
 +* bc3
 +* codecompare
 +* emerge
 +* vimdiff
 +* imediff
 +
 +Et aussi 
 +* diff
 +* sdiff
 +* jsondiff
 +
 +
 +
 +~~~bash
 +git difftool --tool-help
 +~~~
 +
 +
 +## diff
 +
 +~~~
 +       -w, --ignore-all-space
 +              Ne tenir compte d'aucun espace.
 +
 +       -B, --ignore-blank-lines
 +              Ne pas tenir compte des lignes vides.
 +~~~
 +
 +~~~bash
 +diff -w -B /etc/hosts.bak /etc/hosts
 +diff -y --width=160 fic1 fic2
 +~~~
 +
 +
 +## Notes vimdiff
 +
 +Installation
 +~~~bash
 +apt-get update && apt-get install vim
 +~~~
 +
 +Syntaxe
 +~~~bash
 +vimdiff fichier1.txt fichier2.txt
 +~~~
 +
 +FIXME : Exemple avec Git, liens kdiff3
 +
 +
 +''do'' - Get changes from other window into the current window.
 +
 +''dp'' - Put the changes from current window into the other window.
 +
 +'']c'' - Jump to the next change.
 +
 +''[c'' - Jump to the previous change.
 +
 +''Ctrl W + Ctrl W'' - Changer de fenêtre
 +
 +''Ctrl w + [Flèche droite]'' Aller dans la fenêtre de droite
 +
 +''Ctrl w + [Flèche gauche]'' Aller dans la fenêtre de gauche
 +
 +
 +## Hexa
 +
 +Voir aussi :
 +* 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
 +~~~
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki