spacemacs/layers/+lang/octave
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
..
img add octave layer 2015-12-09 01:27:26 -05:00
README.org [doc] Fix typos and add missing/remove extra ~ 2019-06-01 20:40:22 +02:00
config.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
packages.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00

README.org

Octave layer

/TakeV/spacemacs/media/commit/7d60d894a7c6015566eaa1d728dd784e8565ac9e/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