https://github.com/honmaple/emacs-maple-diff
To sign the changes of file.
https://github.com/honmaple/emacs-maple-diff
Last synced: 4 months ago
JSON representation
To sign the changes of file.
- Host: GitHub
- URL: https://github.com/honmaple/emacs-maple-diff
- Owner: honmaple
- License: gpl-3.0
- Created: 2020-03-24T17:16:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-01T16:01:20.000Z (almost 4 years ago)
- Last Synced: 2025-04-08T22:32:19.688Z (about 1 year ago)
- Language: Emacs Lisp
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* emacs-maple-diff
To sign the changes of file.
** How to use
#+begin_src bash
git clone https://github.com/honmaple/emacs-maple-diff ~/.emacs.d/site-lisp/maple-diff
#+end_src
Or
#+begin_src elisp
(use-package maple-diff
:quelpa (:fetcher github :repo "honmaple/emacs-maple-diff"))
#+end_src
#+begin_src elisp
(use-package maple-diff
:hook (after-init . global-maple-diff-mode)
:config
;; left-fringe, right-fringe, left-margin, right-margin
(setq maple-diff:side 'right-fringe)
(setq maple-diff:margin-sign-alist
'((added . "+")
(deleted . "-")
(changed . "!")))
(setq maple-diff:fringe-sign-alist
'((added . maple-diff:added-fringe)
(deleted . maple-diff:deleted-fringe)
(changed . maple-diff:changed-fringe)))
(setq maple-diff:face-alist
'((added . maple-diff:added)
(deleted . maple-diff:deleted)
(changed . maple-diff:changed)))
)
#+end_src