Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 795 Bytes

vim.md

File metadata and controls

30 lines (28 loc) · 795 Bytes

Customize Vim for OpenFOAM

A Comment/Un-Comment plugin for OpenFOAM cases' files using short-key [Ctrl-C/X].

Plug 'TimoLin/foam-comments'

Highlighting OpenFOAM keywords for OpenFOAM cases' files.

Plug 'phresher/vim-openfoam'

Environment

  • Ubuntu 18.04
  • VIM 8.0
  • Python 3.6.9

1. Installation

Add this to .vimrc

Plug 'Valloric/YouCompleteMe', { 'commit':'d98f896' }

Install/Compile:

python3 install.py --clangd-completer

2. Configuration for OpenFOAM

Use YCM-Generator.