Commit 21fe4f4d authored by Arjen Wiersma's avatar Arjen Wiersma

Weird performance isuee with git-gutter

parent d030411e
......@@ -240,6 +240,19 @@ Bookmarks are very useful for quickly jumping around files.
(use-package ivy-hydra :ensure t)
#+END_SRC
From [[http://pragmaticemacs.com/emacs/dont-kill-buffer-kill-this-buffer-instead/][Pragmatic Emacs]] a more concise way to kill the buffer.
#+begin_src emacs-lisp
(global-set-key (kbd "C-x k") 'kill-this-buffer)
#+end_src
Mousewheel scrolling can be quite annoying, lets fix it to scroll
smoothly.
#+begin_src emacs-lisp
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1) ((control) . nil)))
(setq mouse-wheel-progressive-speed nil)
#+end_src
* Discover-ability
......@@ -842,15 +855,16 @@ Magit is the only thing you need when it comes to Version Control (Git)
Display the buffer state in the fringe.
#+BEGIN_SRC emacs-lisp
(use-package git-gutter-fringe
:ensure t
:diminish git-gutter-mode
:config
(setq git-gutter-fr:side 'right-fringe)
(set-face-foreground 'git-gutter-fr:modified "#63747c")
(set-face-foreground 'git-gutter-fr:added "#63747c")
(set-face-foreground 'git-gutter-fr:deleted "#63747c")
(global-git-gutter-mode +1))
;; 2017-01-01 - weird performance issue with git-gutter
;; (use-package git-gutter-fringe
;; :ensure t
;; :diminish git-gutter-mode
;; :config
;; (setq git-gutter-fr:side 'right-fringe)
;; (set-face-foreground 'git-gutter-fr:modified "#63747c")
;; (set-face-foreground 'git-gutter-fr:added "#63747c")
;; (set-face-foreground 'git-gutter-fr:deleted "#63747c")
;; (global-git-gutter-mode +1))
#+END_SRC
*** REST support
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment