sm_edit, error “E319: Sorry, the command is not available in this version: let skip_defaults_vim=1”
book
Article ID: 399372
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
When you try to edit a config file using ./sm_edit, you get below error “E319: Sorry, the command is not available in this version: let skip_defaults_vim=1”. PFB screenshot:
Environment
All supported Smarts releases
Cause
As seen in the error, this issue is due to "Error detected while processing /etc/virc" file. In this example there is an issue in line number 40 of /etc/virc file.
This is not a Smarts issue. Issue here is w.r.t. vi editor's settings file virc.
Resolution
Referring to the error description verify and correct the settings reported in the line number of virc file.
In the above example resolution is to remove the setting let skip_defaults_vim=1 in /etc/virc file as this setting is not supported with the installed version of vi editor.