]> code.delx.au - dotemacs/blobdiff - lisp/my-keys.el
magit key binding improvements
[dotemacs] / lisp / my-keys.el
index e0f0ec9aa534e9f185ee1edff171b94abc81bb61..16772e252dd766aa7fb1a1f91d01bcc0e872293f 100644 (file)
@@ -22,6 +22,7 @@
 (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)
@@ -60,6 +61,7 @@
 (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)