[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/add-vdiff cfb90d7 233/258: vdiff-magit: Add note to READM
From: |
Justin Burkett |
Subject: |
[elpa] scratch/add-vdiff cfb90d7 233/258: vdiff-magit: Add note to README |
Date: |
Wed, 17 May 2017 08:13:59 -0400 (EDT) |
branch: scratch/add-vdiff
commit cfb90d7bae73f8074a374bfbb7f84d16568db70e
Author: Justin Burkett <address@hidden>
Commit: Justin Burkett <address@hidden>
vdiff-magit: Add note to README
---
README.org | 26 ++++++++++++++++++++++++++
vdiff-magit.el | 3 ---
2 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
index 9fef317..3be33a2 100644
--- a/README.org
+++ b/README.org
@@ -4,6 +4,16 @@
A tool like vimdiff for Emacs
+** Table of Contents :TOC:
+ - [[#vdiff][vdiff]]
+ - [[#introduction][Introduction]]
+ - [[#recent-significant-changes][Recent (Significant) Changes]]
+ - [[#screenshot][Screenshot]]
+ - [[#installation-and-usage][Installation and Usage]]
+ - [[#hydra][Hydra]]
+ - [[#magit-integration][Magit integration]]
+ - [[#further-customization][Further customization]]
+
** Introduction
vdiff is a diff tool for Emacs that is made to behave like vimdiff, meaning
diff
@@ -123,6 +133,22 @@ map. Bind =vdiff-hydra/body= directly to customize this
key binding.
[[file:img/hydra.png]]
+** Magit integration
+
+Loading =vdiff-magit= will pull in functions that will allow vdiff to be used
+with [[https://github.com/magit/magit][magit]]. In order to use these
functions you need to call the vdiff functions
+instead of the magit-ediff ones. Here is a very basic setup which replaces the
+basic ediff key bindings in magit.
+
+Please note that this is a new feature and probably contains some bugs, so use
+it with caution and please report oddities.
+
+#+BEGIN_SRC emacs-lisp
+(require 'vdiff-magit)
+(define-key magit-mode-map "e" 'vdiff-magit-dwim)
+(define-key magit-mode-map "E" 'vdiff-magit-popup)
+#+END_SRC
+
** Further customization
The current customization options and there defaults are
diff --git a/vdiff-magit.el b/vdiff-magit.el
index e2f469e..a9d27fb 100644
--- a/vdiff-magit.el
+++ b/vdiff-magit.el
@@ -110,9 +110,6 @@ tree at the time of stashing."
(?z "Show stash" vdiff-magit-show-stash))
:max-action-columns 2)
-(define-key magit-mode-map "e" 'vdiff-magit-dwim)
-(define-key magit-mode-map "E" 'vdiff-magit-popup)
-
;;;###autoload
(defun vdiff-magit-resolve (file)
"Resolve outstanding conflicts in FILE using vdiff.
- [elpa] scratch/add-vdiff 477eb88 161/258: Fix refinement bug, (continued)
- [elpa] scratch/add-vdiff 477eb88 161/258: Fix refinement bug, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff f1eca80 165/258: Disable refine-all-hunks for diff3, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 30b85fe 164/258: Fix sending changes with diff3, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 816fe2a 182/258: Fix subtraction string width, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 582d13d 180/258: Fix compiler warnings, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff cd9dad4 191/258: Fix refresh function call sequence, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 2847cd6 183/258: Add callback support on quit, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 90f81f0 175/258: Make sure hook functions execute in vdiff bufs, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 2d48cb5 229/258: vdiff-magit: Simplify resolve, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff c31755a 220/258: vdiff-magit: Port show stash, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff cfb90d7 233/258: vdiff-magit: Add note to README,
Justin Burkett <=
- [elpa] scratch/add-vdiff f5fdcaa 241/258: vdiff-magit: Simplify exit from stage, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff e8d3d26 236/258: vdiff-magit: Try to switch resolve functions gracefully, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 7c87360 244/258: vdiff: Add vdiff-current-file, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 8b32329 245/258: vdiff: Filter out killed buffers better, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 8aa5c45 250/258: vdiff-magit: Fix paren, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 466b852 173/258: Fix subtraction overlay addition, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff f3b6cec 179/258: Center on start, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 667a7e4 144/258: Generalize data structures to prepare for diff3, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 059d288 208/258: Update gitignore, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff cfad650 207/258: Provide missing function for emacs-nox users, Justin Burkett, 2017/05/17