Parcourir la source

Add tips to resolve conflicts with vimdiff

DricomDragon il y a 5 ans
Parent
commit
ffbb7928cd
1 fichiers modifiés avec 17 ajouts et 0 suppressions
  1. 17 0
      Guides/vim.md

+ 17 - 0
Guides/vim.md

@@ -52,3 +52,20 @@ __vimdiff__ basics
 
 `[c` previous
 
+### Resolving a conflict
+
+Three files : LOCAL | BASE | REMOTE
+
++--------------------------------+
+| LOCAL  |     BASE     | REMOTE |
++--------------------------------+
+|             MERGED             |
++--------------------------------+
+
+Three commands : `:diffget LO`, `:diffget BO`, `:diffget RE`
+
+### Unfold
+
+`zo`
+
+Useful to see more context.