vim-foam


Ⅰ. 插件描述

Filetype plugin for OpenFOAM

Ⅱ. 基本信息

创建日期:  2017-11-02
使用用户:  1
Github星:  7
插件作者:  Karl Yngve Lervåg

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'lervag/vim-foam'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'lervag/vim-foam'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'lervag/vim-foam'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/lervag/vim-foam

Ⅳ. 文档说明

# vim-foam

This is a filetype plugin for OpenFOAM. It is currently pre-alpha, and the
development will be sporadic. The initial goal is to get up to par with
vimExtensionOpenFOAM.

Table of contents

Installation

If you use vim-plug, then add the
following line to your vimrc file:

Plug 'lervag/vim-foam'

Or use some other plugin manager:

Features

These are the current features of this plugin:

  • Syntax highlighting
  • Completion (:h omni-complete)

TODO

  • [ ] Fix completion e.g. in fvSchemes entries

Acknowledgements

The syntax part of this plugin is inspired by vimExtensionOpenFOAM which was
written by Ferdinand Leinbach and _Tobias Holzmann_.

添加新评论