Snippet, detection and other goodies to edit modelica (.mo) files
Install Vundle if not already installed.
Then add
Plugin 'drmingdrmer/xptemplate'
Plugin 'Twinside/vim-modelica'
to the .vimrc
. And type :PluginInstall
in the ex command line of the vim.
You can type the following shorthands with shorthand<ctrl+\>
.
For example block<ctrl+\>
yields:
block `blockName^
`cursor^
end `blockName^;
You may use <tab>
to navigate through the elements (blockName
, cursor
).
Available shorthands include:
model
class
connector
record
typer
while
if
block
package
forin
enum
function
Requires drmingdrmer/xptemplate to work.