(global-set-key (kbd "C-c g d") 'git-gutter:popup-hunk)
(global-set-key (kbd "C-c g p") 'git-gutter:previous-hunk)
(global-set-key (kbd "C-c g n") 'git-gutter:next-hunk)
+(global-set-key (kbd "C-c g r") 'git-gutter:revert-hunk)
;; Windows/frames
(global-set-key (kbd "<C-up>") 'windmove-up)
(global-set-key (kbd "C-x C-j") 'direx-project:jump-to-project-root-other-window)
(global-set-key (kbd "C-c g s") 'magit-status)
(global-set-key (kbd "C-c g g") 'magit-dispatch-popup)
+(global-set-key (kbd "C-c g f") 'magit-file-popup)
(global-set-key (kbd "<f8>") 'flyspell-mode)
(global-set-key (kbd "<f9>") 'whitespace-mode)
(global-set-key (kbd "<f10>") 'toggle-truncate-lines)
(direx:direx-mode :align left :size 40 :select t)
("*magit-.*-popup*" :regexp t :align right :size 63 :select t)
(magit-status-mode :align below :size 20 :select t)
- (magit-diff-mode :align right)))
+ ((magit-diff-mode magit-revision-mode) :align right)))
(setq shackle-default-rule '(:align below :select t :size 15))
(setq magit-completing-read-function 'ivy-completing-read)
(setq magit-display-file-buffer-function #'pop-to-buffer)
+(setcdr magit-file-mode-map nil)
(global-magit-file-mode)
-
(require 'vc)
(setq vc-follow-symlinks t)
(setq vc-handled-backends nil)