compilation-mode: maps gf to find-file-at-point

This commit is contained in:
Francesc Elies Henar 2016-11-13 13:34:23 +01:00 committed by bmag
parent 0d4a8a4d49
commit fea919c479

View file

@ -234,6 +234,7 @@
"cr" 'recompile
"cd" 'spacemacs/close-compilation-window)
(with-eval-after-load 'compile
(evil-define-key 'motion compilation-mode-map (kbd "gf") 'find-file-at-point)
(define-key compilation-mode-map "r" 'recompile)
(define-key compilation-mode-map "g" nil))
;; narrow & widen -------------------------------------------------------------