You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git-gutter-fringe+ is a display mode for
git-gutter+.el.
It uses the buffer fringe instead of the buffer margin.
git-gutter+.el
git-gutter-fringe+.el
Works in tty frame
+
-
Works with linum-mode
-
+
Gutter on the right side
-
+
Installation
With package.el:
Add MELPA as a package source.
Run M-x package-install git-gutter-fringe+
(And make sure you've got the latest version of
fringe-helper)
Add this to your .emacs file:
(require 'git-gutter-fringe+)
The fringe display mode is automatically activated.
Disabling/Enabling
Run M-x git-gutter+-toggle-fringe to disable/enable the fringe display mode.
Minimal skin
Features smaller, greyscale diff symbols. Activate it with
(git-gutter-fr+-minimal)
Customize
Look and feel
You can customize the colors of modified, added, and deleted fringe marks either by
modifying the faces from git-gutter+ or directly using the git-gutter-fr+ faces.
Using the fact git-gutter-fr+ faces are inherited from git-gutter+:
;; Please adjust fringe width if your own sign is too big.
(setq-default left-fringe-width 20)
(setq-default right-fringe-width 20)
(fringe-helper-define 'git-gutter-fr+-addednil".XXXXXX.""XX....XX""X......X""X......X""XXXXXXXX""XXXXXXXX""X......X""X......X")
(fringe-helper-define 'git-gutter-fr+-deletednil"XXXXXX..""XX....X.""XX.....X""XX.....X""XX.....X""XX.....X""XX....X.""XXXXXX..")
(fringe-helper-define 'git-gutter-fr+-modifiednil"XXXXXXXX""X..XX..X""X..XX..X""X..XX..X""X..XX..X""X..XX..X""X..XX..X""X..XX..X")
Position of fringe
You can change position of fringe, left or right. Default is left.