spacemacs/layers/+lang/octave
2018-12-04 22:06:14 -05:00
..
img add octave layer 2015-12-09 01:27:26 -05:00
config.el Happy New Year 2018! 2018-01-04 02:00:25 -05:00
packages.el Unify packages list parentheses style 2018-11-21 21:35:38 +00:00
README.org documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00

Octave layer

/TakeV/spacemacs/media/commit/c2a351cac762c7ac6f182853ab696600c83a416d/layers/+lang/octave/img/octave.png

Description

This layer adds support for GNU Octave files to Spacemacs.

Features:

  • Syntax highlighting for .m files via octave-mode.
  • REPL support
  • Support for directly running Octave scripts from emacs.
  • Integration with Octaves documentation search function.

Install

Make sure that GNU Octave is installed and in your PATH. For information about setting up $PATH, check out the corresponding section in the FAQ (=SPC h SPC $PATH RET=).

To use this configuration layer, add it to your ~/.spacemacs. You will need to add octave to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

Inferior REPL process

Send code to inferior process with these commands:

Key Description
SPC m ' start/switch to REPL inferior process
SPC m s i
SPC m s b send buffer
SPC m s f send function
SPC m s l send line
SPC m s r send region

Helpers

Key binding Description
SPC m h h view documentation for function at point
SPC m h i read octave info documentation