Revert go-coverage to SPC m g c and move create-tages to SPC m g C

SPC m g C is only used in Clojure whereas SPC m g c is used in various layers.
This is simpler to just move create tags to SPC m g C and move the clojure
bindings to SPC m g c (since it is not used in the clojure layer).
This commit is contained in:
syl20bnr 2017-03-30 22:00:21 -04:00
parent 0fc5a729ff
commit 78f098ae46
5 changed files with 5 additions and 5 deletions

View File

@ -124,7 +124,7 @@
"fb" 'cider-format-buffer
"gb" 'cider-pop-back
"gC" 'cider-classpath
"gc" 'cider-classpath
"ge" 'cider-jump-to-compilation-error
"gr" 'cider-jump-to-resource
"gn" 'cider-browse-ns

View File

@ -124,7 +124,7 @@ In addition, =GOPATH= must be set prior to =go-guru= initialization.
| ~SPC m e d~ | download go-play snippet |
| ~SPC m x x~ | run "go run" for the current 'main' package |
| ~SPC m g a~ | jump to matching test file or back from test to code file |
| ~SPC m g С~ | open a clone of the current buffer with a coverage info (=go tool cover -h= for help) |
| ~SPC m g c~ | open a clone of the current buffer with a coverage info (=go tool cover -h= for help) |
| ~SPC m g g~ | go jump to definition |
| ~SPC m r n~ | go rename |
| ~SPC m t p~ | run "go test" for the current package |

View File

@ -114,7 +114,7 @@
"ed" 'go-download-play
"xx" 'spacemacs/go-run-main
"ga" 'ff-find-other-file
"gС" 'go-coverage
"gc" 'go-coverage
"tt" 'spacemacs/go-run-test-current-function
"ts" 'spacemacs/go-run-test-current-suite
"tp" 'spacemacs/go-run-package-tests

View File

@ -236,7 +236,7 @@ the gtags commands.
| Key Binding | Description |
|-------------+-----------------------------------------------------------|
| ~SPC m g c~ | create a tag database |
| ~SPC m g C~ | create a tag database |
| ~SPC m g f~ | jump to a file in tag database |
| ~SPC m g g~ | jump to a location based on context |
| ~SPC m g G~ | jump to a location based on context (open another window) |

View File

@ -40,7 +40,7 @@ Otherwise does nothing."
(add-to-list jumpl 'spacemacs/helm-gtags-maybe-dwim 'append))
(spacemacs/set-leader-keys-for-major-mode mode
"gc" 'helm-gtags-create-tags
"gC" 'helm-gtags-create-tags
"gd" 'helm-gtags-find-tag
"gD" 'helm-gtags-find-tag-other-window
"gf" 'helm-gtags-select-path