Ver código fonte

Add tips to resolve conflicts with vimdiff

DricomDragon 5 anos atrás
pai
commit
ffbb7928cd
1 arquivos alterados com 17 adições e 0 exclusões
  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.