What is it?

This module is a mfext add-on which provides an opinionated VIM editor (and configuration) for use in MetWork Framework env.

WARNING: this addon is still experimental and not available in released branches

Provided layers

This add-on provides three layers:

  • vim@mfext (common files for next layers, not useful alone)

  • python3_vim@mfext (VIM with Python3 support)

  • python2_vim@mfext (VIM with Python2 support)

Provides useful packages

So, to install this add-on, you have to install:

  • metwork-mfext-layer-python3_vim package

  • (and/or) metwork-mfext-layer-python2_vim package

Quickstart

$ ##### As root user #####

$ # We install the Python3 enabled version of VIM
$ yum -y install metwork-mfext-layer-python3_vim

$ ##### As lambda user #####

$ # We load the mfext environment (if it is not already done)
$ . /opt/metwork-mfext/share/interactive_profile

$ # We check that the layer is installed and loaded
$ layers |grep vim
- (*) python3_vim@mfext [/opt/metwork-mfext/opt/python3_vim]
- python2_vim@mfext [/opt/metwork-mfext/opt/python2_vim]
- (*) vim@mfext [/opt/metwork-mfext/opt/vim]

$ # note: we should have the `(*)` sign before each **loaded** layers
$ #       in that example, this is normal not to have the `(*)` sign before
$ #       python2_vim@mfext layer because both pythonX layers are mutually
$ #       exclusive

$ # Let's test
$ vim