all repos — nixfiles @ bdce118dad88aa455370b73626d29af7ca15cc3d

System and user configuration, managed by nix and home-manager

Emacs: move git diff information to left fringe
Alan Pearce alan@alanpearce.eu
Sun, 11 Jun 2023 08:28:38 +0200
commit

bdce118dad88aa455370b73626d29af7ca15cc3d

parent

986efd80c92a671eea0a950997ef1ca42050b551

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -938,12 +938,12 @@ ;; places the git gutter outside the margins.             (setq-default fringes-outside-margins nil)
             ;; thin fringe bitmaps
             (fringe-helper-define 'git-gutter-fr:added '(center repeated)
-              "....XXX.")
+              ".XXX....")
             (fringe-helper-define 'git-gutter-fr:modified '(center repeated)
-              "....XXX.")
+              ".XXX....")
             (fringe-helper-define 'git-gutter-fr:deleted '(center repeated)
-              "....XXX.")
-            (setq git-gutter-fr:side 'right-fringe)
+              ".XXX....")
+            (setq git-gutter-fr:side 'left-fringe)
             (global-git-gutter-mode 1)))
 
 (use-package git-messenger