From 71363407b02eb7741364bc2745c60bdcf6b8fb50 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 5 Nov 2015 02:05:49 -0800 Subject: [PATCH] current-file with prefix alternative on C-c t in gomode --- dotfiles/emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 198ec00a..8b41d841 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -2178,9 +2178,10 @@ window is active in the perspective." (setq go-test-verbose t) (bind-key "M-." 'godef-jump go-mode-map) (bind-key "M-," 'pop-tag-mark go-mode-map) + (imalison:prefix-alternatives imalison:gotest go-test-current-test go-test-current-file) (defun imalison:go-mode-hook () (go-eldoc-setup) - (bind-key "C-c t" 'go-test-current-test go-mode-map) + (bind-key "C-c t" 'imalison:gotest go-mode-map) (setq imenu-create-index-function (lambda () (imalison:flatten-imenu-index