Created
August 30, 2015 13:08
-
-
Save da-x/41cde932279be590e6a6 to your computer and use it in GitHub Desktop.
Show git log only on the current file using magit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun my/magit-file-log-y () | |
(interactive) | |
(magit-file-log (buffer-file-name)) | |
) | |
(global-unset-key (kbd "M-f")) ;; forward-word | |
(global-set-key (kbd "M-f") 'my/magit-file-log-y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment