Skip to content

sagemath/helm-sage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

melpa badge melpa stable badge Build Status

Overview

helm-sage provides a helm source for sage-shell-mode.

helm-sage

Installation

You can install helm-sage from MELPA by package.el (M-x package-install helm-sage).

Commands

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".

Sample configuration

Bind these commands to some keys, e.g.:

(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))

About

A helm extension for sage-shell-mode

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published