spacemacs/layers/+lang/octave
Jean-Christophe Petkovich 421b49c7e5 Change octave-mode keys to mirror other modes.
The keybindings in octave-mode don't follow the same standards as the
others. Also use the function `spacemacs/set-leader-keys-for-major-mode`
for setting mode specific keys.
2016-01-03 14:29:49 -05:00
..
img add octave layer 2015-12-09 01:27:26 -05:00
packages.el Change octave-mode keys to mirror other modes. 2016-01-03 14:29:49 -05:00
README.org octave: update README and change SPC m h d for SPC m h h 2015-12-09 01:30:01 -05:00

Octave layer

/TakeV/spacemacs/media/commit/9b0ae1d214445a1036489339a77284e5f3eca759/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 f e h $PATH RET=).

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(octave))

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