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
Prochaine révision
Révision précédente
tech:notes_vimdiff [2025/03/24 18:02] – [Notes diff] Jean-Baptistetech:notes_vimdiff [2025/11/07 10:20] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 {{tag>Brouillon vim diff}} {{tag>Brouillon vim diff}}
  
-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 /etc/hosts.bak /etc/hosts diff -w -B /etc/hosts.bak /etc/hosts
 +diff -y --width=160 fic1 fic2
 ~~~ ~~~
  
  
-== Notes vimdiff+## Notes vimdiff
  
 Installation Installation
-<code bash>+~~~bash
 apt-get update && apt-get install vim apt-get update && apt-get install vim
-</code>+~~~
  
 Syntaxe Syntaxe
-<code bash>+~~~bash
 vimdiff fichier1.txt fichier2.txt vimdiff fichier1.txt fichier2.txt
-</code>+~~~
  
 FIXME : Exemple avec Git, liens kdiff3 FIXME : Exemple avec Git, liens kdiff3
Ligne 77: Ligne 86:
 ''Ctrl w + [Flèche gauche]'' Aller dans la fenêtre de gauche ''Ctrl w + [Flèche gauche]'' Aller dans la fenêtre de gauche
  
-== Hexa+ 
 +## Hexa
  
 Voir aussi : Voir aussi :
 * hexadiff * hexadiff
  
-<code bash>+~~~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
-</code>+~~~
  
  
tech/notes_vimdiff.1742835755.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki