projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
435306f
)
emacs: add vc-ediff binding, winner-undo on ediff quit, horiz split
author
Amin Bandali
<bandali@gnu.org>
Sun, 12 May 2019 04:46:23 +0000
(
00:46
-0400)
committer
Amin Bandali
<bandali@gnu.org>
Sun, 12 May 2019 04:46:23 +0000
(
00:46
-0400)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
fe4b180
..
8d93b33
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-444,6
+444,14
@@
For disabling the behaviour for certain buffers and/or modes."
;; allow scrolling in Isearch
(setq isearch-allow-scroll t)
;; allow scrolling in Isearch
(setq isearch-allow-scroll t)
+(use-feature vc
+ :bind ("C-x v C-=" . vc-ediff))
+
+(use-feature ediff
+ :config (add-hook 'ediff-after-quit-hook-internal 'winner-undo)
+ :custom ((ediff-window-setup-function 'ediff-setup-windows-plain)
+ (ediff-split-window-function 'split-window-horizontally)))
+
\f
;;; General bindings
\f
;;; General bindings