You are viewing the documentation for the develop branch. The documentation for the release version is here .

Table of Contents

Octave layer

Table of ContentsClose

octave.png

1. Description

This layer adds support for GNU Octave files to Spacemacs.

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

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

3. Key bindings

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

3.2. Helpers

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

Author: root

Created: 2021-09-29 Wed 20:45

Validate