 (require 'magit)
 (require 'magit-svn)
+
+;; C-x C-k to kill file on line
 
 (defun magit-kill-file-on-line ()
   "Show file on current magit line and prompt for deletion."

  (jump-to-register :magit-fullscreen))

(define-key magit-status-mode-map (kbd "q") 'magit-quit-session)
(define-key magit-status-mode-map (kbd "C-x C-k") 'magit-kill-file-on-line)

(provide 'setup-magit)

  (magit-visit-item)
  (delete-current-buffer-file)
  (magit-refresh))

(define-key magit-status-mode-map (kbd "C-x C-k") 'magit-kill-file-on-line)

;; full screen magit-status

(defadvice magit-status (around magit-fullscreen activate)
  (window-configuration-to-register :magit-fullscreen)
