spacemacs/layers/+lang/octave
Robbert van der Helm c61ae1a1c1 Add ivy support to the gtags layer
It would be much better to have a single function for each layer that
initializes ggtags, helm-gtags and counsel-gtags for a mode.
2017-12-17 22:03:01 -05:00
..
img
config.el
packages.el Add ivy support to the gtags layer 2017-12-17 22:03:01 -05:00
README.org

Octave layer

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