Skip to content

Commit

Permalink
Remove git guttur
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhu committed Feb 16, 2022
1 parent bda1c83 commit ee6ae52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 40 deletions.
38 changes: 0 additions & 38 deletions config/022-vc-config.el
Original file line number Diff line number Diff line change
Expand Up @@ -42,41 +42,3 @@
(bind-key "q" 'magit-quit-session magit-status-mode-map)
(bind-key "C-x C-k" 'magit-kill-file-on-line magit-status-mode-map)
(bind-key "W" 'magit-toggle-whitespace magit-status-mode-map)))

(use-package git-gutter :ensure t :diminish "")
(use-package git-gutter-fringe :ensure t
:config (progn (set-face-foreground 'git-gutter-fr:added "green4")
(set-face-foreground 'git-gutter-fr:modified "grey50")
(set-face-foreground 'git-gutter-fr:deleted "red3")
(fringe-helper-define 'git-gutter-fr:added nil
"........"
"...XX..."
"...XX..."
"XXXXXXXX"
"XXXXXXXX"
"...XX..."
"...XX..."
"........")
(fringe-helper-define 'git-gutter-fr:modified nil
"........"
"XXXXX..."
"XXXXX..."
"XXXXX..."
"XXXXX..."
"XXXXX..."
"XXXXX..."
"........")
(global-git-gutter-mode)))

(defadvice vc-annotate (around fullscreen activate)
(window-configuration-to-register :vc-annotate-fullscreen)
ad-do-it
(delete-other-windows))

(use-package vc-annotate
:init (defun vc-annotate-quit ()
"Restores the previous window configuration and kills the vc-annotate buffer"
(interactive)
(kill-buffer)
(jump-to-register :vc-annotate-fullscreen))
:config (bind-key "q" 'vc-annotate-quit vc-annotate-mode-map))
5 changes: 3 additions & 2 deletions profiles.clj
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{:user {:plugins [[lein-ancient "0.7.0"]
[lein-nvd "1.4.1"]]}}
{:user {:plugins [[lein-ancient "1.0.0-RC3"]
[com.github.liquidz/antq "1.3.1"]
[nvd-clojure "2.1.0"]]}}

0 comments on commit ee6ae52

Please sign in to comment.