xie-dongping / vim-modelica

Snippet, detection and other goodies to edit modelica (.mo) files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-modelica

Snippet, detection and other goodies to edit modelica (.mo) files

Installation Vundle

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.

Usage

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

About

Requires drmingdrmer/xptemplate to work.

About

Snippet, detection and other goodies to edit modelica (.mo) files


Languages

Language:Vim Script 100.0%