Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.79 KB

README.org

File metadata and controls

49 lines (39 loc) · 1.79 KB

Octave layer

img/octave.png

Table of Contents

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:

KeyDescription
SPC m 'start/switch to REPL inferior process
SPC m s i
SPC m s bsend buffer
SPC m s fsend function
SPC m s lsend line
SPC m s rsend region

Helpers

Key bindingDescription
SPC m h hview documentation for function at point
SPC m h iread octave info documentation