Skip to content

Commit

Permalink
Refine hex shortcuts and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tonini committed Apr 11, 2016
1 parent 0bbfe84 commit d6e65ee
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions alchemist-refcard.el
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@
(alchemist-refcard--build-tabulated-row "alchemist-mix-compile")
(alchemist-refcard--build-tabulated-row "alchemist-mix-run")
(alchemist-refcard--build-empty-tabulated-row)
(alchemist-refcard--build-tabulated-title-row "Hex")
(alchemist-refcard--build-tabulated-row "alchemist-hex-info-at-point")
(alchemist-refcard--build-tabulated-row "alchemist-hex-releases-at-point")
(alchemist-refcard--build-tabulated-row "alchemist-hex-releases")
(alchemist-refcard--build-tabulated-row "alchemist-hex-info")
(alchemist-refcard--build-tabulated-row "alchemist-hex-search")
(alchemist-refcard--build-empty-tabulated-row)
(alchemist-refcard--build-tabulated-title-row "Testing")
(alchemist-refcard--build-tabulated-row "alchemist-mix-test")
(alchemist-refcard--build-tabulated-row "alchemist-mix-rerun-last-test")
Expand Down
5 changes: 3 additions & 2 deletions alchemist.el
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ Key bindings:

(define-key map (kbd "X i") 'alchemist-hex-info-at-point)
(define-key map (kbd "X r") 'alchemist-hex-releases-at-point)
(define-key map (kbd "X I") 'alchemist-hex-releases)
(define-key map (kbd "X s") 'alchemist-hex-info))
(define-key map (kbd "X R") 'alchemist-hex-releases)
(define-key map (kbd "X s") 'alchemist-hex-search)
(define-key map (kbd "X I") 'alchemist-hex-info))

(define-key alchemist-mode-map (kbd "M-.") 'alchemist-goto-definition-at-point)
(define-key alchemist-mode-map (kbd "M-,") 'alchemist-goto-jump-back)
Expand Down
3 changes: 2 additions & 1 deletion doc/basic_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ The Mix tasks running in a separate `alchemist-mix-mode`, in which the following
|<kbd>C-c a X i</kbd> | Display Hex package information for the package at point. |
|<kbd>C-c a X r</kbd> | Display Hex package releases for the package at point. |
|<kbd>C-c a X I</kbd> | Display Hex package info for a certain package. |
|<kbd>C-c a X S</kbd> | Search for Hex packages. |
|<kbd>C-c a X R</kbd> | Display Hex package releases for a certain package.|
|<kbd>C-c a X s</kbd> | Search for Hex packages. |

## Testing

Expand Down

0 comments on commit d6e65ee

Please sign in to comment.