From 8b2c324bfefcd6ed2758598b0f8ccec4f3b8ed94 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 13 Jan 2020 12:54:57 -0800 Subject: emacs/go: add binding to run tests. --- emacs.d/custom/fcuny-go.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emacs.d/custom/fcuny-go.el b/emacs.d/custom/fcuny-go.el index 4484b6e..032f794 100644 --- a/emacs.d/custom/fcuny-go.el +++ b/emacs.d/custom/fcuny-go.el @@ -24,6 +24,10 @@ (use-package gotest :ensure t - :after go-mode) + :after go-mode + :bind (:map go-mode-map + ("C-c ." . go-test-current-test) + ("C-c f" . go-test-current-file) + ("C-c a" . go-test-current-project))) (provide 'fcuny-go) -- cgit 1.4.1