mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-13 20:28:35 +10:00
Adding ediff customization options
This commit is contained in:
@@ -70,6 +70,16 @@
|
||||
(evil-define-key 'normal peep-dired-mode-map (kbd "k") 'peep-dired-prev-file)
|
||||
)
|
||||
|
||||
(setq ediff-split-window-function 'split-window-horizontally
|
||||
ediff-window-setup-function 'ediff-setup-windows-plain)
|
||||
|
||||
(defun dt-ediff-hook ()
|
||||
(ediff-setup-keymap)
|
||||
(define-key ediff-mode-map "j" 'ediff-next-difference)
|
||||
(define-key ediff-mode-map "k" 'ediff-previous-difference))
|
||||
|
||||
(add-hook 'ediff-mode-hook 'dt-ediff-hook)
|
||||
|
||||
(use-package elfeed
|
||||
:config
|
||||
(setq elfeed-search-feed-face ":foreground #ffffff :weight bold"
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
- [[#dashboard][DASHBOARD]]
|
||||
- [[#diminish][DIMINISH]]
|
||||
- [[#dired][DIRED]]
|
||||
- [[#ediff][EDIFF]]
|
||||
- [[#elfeed][ELFEED]]
|
||||
- [[#eradio][ERADIO]]
|
||||
- [[#evil][EVIL]]
|
||||
@@ -165,6 +166,21 @@ This package implements hiding or abbreviation of the modeline displays (lighter
|
||||
|
||||
#+end_src
|
||||
|
||||
* EDIFF
|
||||
'ediff' is a diff program that is built into Emacs.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(setq ediff-split-window-function 'split-window-horizontally
|
||||
ediff-window-setup-function 'ediff-setup-windows-plain)
|
||||
|
||||
(defun dt-ediff-hook ()
|
||||
(ediff-setup-keymap)
|
||||
(define-key ediff-mode-map "j" 'ediff-next-difference)
|
||||
(define-key ediff-mode-map "k" 'ediff-previous-difference))
|
||||
|
||||
(add-hook 'ediff-mode-hook 'dt-ediff-hook)
|
||||
#+end_src
|
||||
|
||||
* ELFEED
|
||||
An RSS newsfeed reader for Emacs. Move through the articles with 'j/k'. Move through the stories with 'CTRL j/k' when in other frame.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user