This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/octave
2016-03-30 22:59:55 -04:00
..
img add octave layer 2015-12-09 01:27:26 -05:00
packages.el octave: explicitly list it as a built-in package 2016-03-06 17:48:51 -05:00
README.org Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00

Octave layer

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

Description

This layer activates octave-mode for files with .m extensions and configures spacemacs-style key bindings.

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 s b send buffer
SPC m s f send function
SPC m s i start/switch to REPL inferior process
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