   :bind (
          ("C-H-n" . git-gutter:next-hunk)
          ("C-H-p" . git-gutter:previous-hunk)
+         ("<left-fringe><mouse-5>" . git-gutter:next-hunk)
+         ("<left-fringe><mouse-4>" . git-gutter:previous-hunk)
          )
 )
 (use-package gitconfig-mode

(global-set-key (kbd "C-c r") 'my-revert-buffer-without-asking) 
(global-set-key (kbd "C-c C-r") 'sudo-edit-current-file)
(global-set-key (kbd "M-]") 'next-error)
;; (global-set-key (kbd "M-;") 'comment-dwim)
;; (global-set-key (kbd "C-;") 'my-comment-line-dwim)
;; (global-set-key (kbd "C-:") 'my-comment-line-dwim-next-line)

(global-set-key [remap fill-paragraph]
                #'endless/fill-or-unfill)


;; These next 3 functions are included in emacs 25+
;;; Functions for changing capitalization that Do What I Mean
(defun upcase-dwim (arg)
  "Upcase words in the region, if active.  If not, upcase word at point.
If the region is active, this function calls `upcase-region'.
Otherwise, it calls `upcase-word', with prefix argument passed to it
to upcase ARG words."
  (interactive "*p")
  (if (use-region-p)
      (upcase-region (region-beginning) (region-end))
    (upcase-word arg)))

(defun downcase-dwim (arg)
    "Downcase words in the region, if active.  If not, downcase word at point.
If the region is active, this function calls `downcase-region'.
Otherwise, it calls `downcase-word', with prefix argument passed to it
to downcase ARG words."
  (interactive "*p")
  (if (use-region-p)
      (downcase-region (region-beginning) (region-end))
    (downcase-word arg)))

(defun capitalize-dwim (arg)
  "Capitalize words in the region, if active.  If not, capitalize word at point.
If the region is active, this function calls `capitalize-region'.
Otherwise, it calls `capitalize-word', with prefix argument passed to it
to capitalize ARG words."
  (interactive "*p")
  (if (use-region-p)
      (capitalize-region (region-beginning) (region-end))
    (capitalize-word arg)))

(global-set-key (kbd "M-u") 'upcase-dwim)
(global-set-key (kbd "M-l") 'downcase-dwim)
(global-set-key (kbd "M-c") 'capitalize-dwim)

;; End let from the top
)
