summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2020-01-13 12:54:57 -0800
committerFranck Cuny <franck.cuny@gmail.com>2020-01-13 12:54:57 -0800
commit8b2c324bfefcd6ed2758598b0f8ccec4f3b8ed94 (patch)
treec0f503fd14b12b13fdba42dc38dadd7a9319c802
parentemacs/nav: diminish ivy/counsel. (diff)
downloademacs.d-8b2c324bfefcd6ed2758598b0f8ccec4f3b8ed94.tar.gz
emacs/go: add binding to run tests.
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-go.el6
1 files changed, 5 insertions, 1 deletions
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)