https://github.com/stakemori/helm-sage.git
git clone 'git://github.com/stakemori/helm-sage.git'
helm-sage
provides a helm
source for
sage-shell-mode.
You can install helm-sage
from
MELPA by package.el
(M-x package-install helm-sage
).
helm-sage
provides 4 commands, helm-sage-complete
,
helm-sage-describe-object-at-point
,
helm-sage-command-history
and helm-sage-output-history
.
| Command | Description |
|——————————————|————————————————————————|
| helm-sage-complete | Show completions at point. |
| helm-sage-describe-object-at-point | Almost same as helm-sage-shell
. But the default action is different. |
| helm-sage-command-history | Show command history. |
| helm-sage-output-history | Show output history. |
In helm-sage-complete
, press TAB
to show the list of actions.
There are 3 actions, “Insert”, “View Docstring” and “View Source File”.
Bind these commands to some keys, e.g.:
lisp
(eval-after-load "sage-shell-mode"
'(sage-shell:define-keys sage-shell-mode-map
"C-c C-i" 'helm-sage-complete
"C-c C-h" 'helm-sage-describe-object-at-point
"M-r" 'helm-sage-command-history
"C-c o" 'helm-sage-output-history))