A vim plugin that emulates all of the powerful IDE features of MATLAB in vim so you don't need to run the full GUI.
git clone https://mcol.xyz/code/vimlab
Log | Files | Refs | README | LICENSE

commit 6ec5f76d8bb95545ff3b3cfefe4c91fd66c54ea1
parent 14e3ba65a108a11243ea42a27a88e477fc9e245c
Author: mcol <mcol@posteo.net>
Date:   Sun, 28 Oct 2018 09:30:51 +0000

added readme

AREADME.md | 30++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -0,0 +1,30 @@ +## vimlab + +This is a collection of code sourced from a few places, modified, expanded and put in one place for my own use. +It is my attempt at making vim with vim-slime as painless as possible when using matlab. +It is also largely configured to my setup specifically and I don't know how flexible it is. + +#### Features + +* [Everything from Fabrice Guy's code](https://www.vim.org/scripts/script.php?script_id=2407), plus: +* Hitting enter in vim over a word to open it in the variable editor or in vim, if it is a variable or m file. +* Better section folding and layout remembering +* Lots of matlab's own keybindings for running code lines, sections, selection, script +* Debugging keybindings, including setting and clearing markers and navigating the function stack +* Automatic session saving +* A script to find .m files in local directories and add them to the list of functions for syntax highlighting + +#### Requirements + +* [vim-slime](https://github.com/jpalardy/vim-slime) +* <MATBLABROOT>/bin/<ARCH>/mlint needs to be on $PATH + +#### Some sources: + +* Fabrice Guy 80% of it +* [ebranlard/vim-matlab-behave](https://github.com/ebranlard/vim-matlab-behave) for a few lines of formatting + +#### Todo: + +* automatic 'end' when writing if/for/switch statements +* make set and clear debug marker a toggle (F12 or normal matlab behaviour)