(use-package git-gutter-fringe
  :commands git-gutter-mode
  :init
  (add-to-hooks 'git-gutter-mode '(erlang-mode-hook
                                   org-mode-hook
                                   prog-mode-hook
                                   ))
  :config
  (progn
    (setq git-gutter:hide-gutter t)
    ;; Don't need log/message.
    (setq git-gutter:verbosity 0)
    (setq git-gutter-fr:side 'right-fringe)
    ;; (setq git-gutter:update-hooks '(after-save-hook after-revert-hook))
    ;; custom graphics that works nice with half-width fringes
    (fringe-helper-define 'git-gutter-fr:added nil
      "..X...."
      "..X...."
      "XXXXX.."
      "..X...."
      "..X...."
      )
    (fringe-helper-define 'git-gutter-fr:deleted nil
      "......."
      "......."
      "XXXXX.."
      "......."
      "......."
      )
    (fringe-helper-define 'git-gutter-fr:modified nil
      "..X...."
      ".XXX..."
      "XXXXX.."
      ".XXX..."
      "..X...."
      )))


(use-package git-gutter-fringe
  :commands git-gutter-mode
  :init
  (add-to-hooks 'git-gutter-mode '(erlang-mode-hook
                                   markdown-mode-hook
                                   org-mode-hook
                                   prog-mode-hook
                                   ))
  :config
  (progn
    (setq git-gutter:hide-gutter t)
    ;; Don't need log/message.
    (setq git-gutter:verbosity 0)
    (setq git-gutter-fr:side 'right-fringe)
    ;; (setq git-gutter:update-hooks '(after-save-hook after-revert-hook))
    ;; custom graphics that works nice with half-width fringes
    (fringe-helper-define 'git-gutter-fr:added nil
      "..X...."
      "..X...."
      "XXXXX.."
      "..X...."
      "..X...."
      )
    (fringe-helper-define 'git-gutter-fr:deleted nil
      "......."
      "......."
      "XXXXX.."
      "......."
      "......."
      )
    (fringe-helper-define 'git-gutter-fr:modified nil
      "..X...."
      ".XXX..."
      "XXXXX.."
      ".XXX..."
      "..X...."
      )))


Add git-gutter-fringe to markdown mode hook
Add git-gutter-fringe to markdown mode hook

tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs