tmichett / vimrc

VimRC File Creation for Ansible and other Courses
2 stars 0 forks source link

= .vimrc File Creation for Ansible and other Courses

This repository will create a custom VIMRC file for editing YAML files. It will add some Syntax checking and will make it look similar to VSCode for editing files. The playbook provided will install a few plugins for VIM as well as configure the plugins.

By default, line numbers, YAML linting, and column guides will be turned on. It will also have an underline following the cursor enabled by default for YAML files.

..vimrc Sample [source,bash]

autocmd FileType yaml setlocal ts=2 sts=2 sw=2 nu expandtab cursorline

== Controlling the Plugins

You must be in command-mode in VIM to change the settings and control how VIM works.

[NOTE]

Plugins used have been forked to my repositories. Original repository sources can be found ...

====