   (jump-to-register :magit-fullscreen))
 
 (define-key magit-status-mode-map (kbd "q") 'magit-quit-session)
-
-;; close popup when commiting
-
-(defadvice git-commit-commit (after delete-window activate)
-  (delete-window))
 
 ;; full screen vc-annotate
 

(require 'magit-svn)

;; Subtler highlight
(set-face-background 'magit-item-highlight "#121212")
(set-face-background 'diff-file-header "#121212")

(eval-after-load "git-commit-mode"
  '(define-key git-commit-mode-map (kbd "C-c C-k") 'magit-exit-commit-mode))

;; C-x C-k to kill file on line

(defun magit-kill-file-on-line ()
