Add further diff options
This commit is contained in:
parent
980bee8e14
commit
3c0d7aece4
@ -18,7 +18,8 @@
|
||||
|
||||
(setq init-packages/version-control-packages
|
||||
|
||||
'(magit)
|
||||
'(magit
|
||||
diff-hl)
|
||||
|
||||
)
|
||||
|
||||
@ -44,6 +45,24 @@
|
||||
:config
|
||||
(add-hook 'magit-mode-hook 'magit-load-config-extensions))
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Ediff.
|
||||
;; --------------------------------------------------------------------------
|
||||
|
||||
(setq ediff-diff-options "-w"
|
||||
ediff-split-window-function 'split-window-horizontally
|
||||
ediff-window-setup-function 'ediff-setup-windows-plain)
|
||||
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Diff highlight mode.
|
||||
;; --------------------------------------------------------------------------
|
||||
|
||||
(use-package diff-hl
|
||||
:init
|
||||
(global-diff-hl-mode)
|
||||
(add-hook 'dired-mode-hook 'diff-hl-dired-mode))
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Diff mode settings.
|
||||
;; --------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user