vim-script

Installation
SKILL.md

Google Vim Script Style Guide

Official Google Vim script coding standards for consistent plugin development.

Golden Rules

  1. Use scriptencoding utf-8 — declare encoding at top of every file
  2. Prefix plugin functions — avoid namespace collisions with other plugins
  3. Use abort on functions — fail fast on errors instead of silently continuing
  4. Check feature availability — use has('feature') before using features
  5. Avoid global variables — use script-local s: instead of g: internally
  6. Document all commands — help users understand usage
  7. Test on multiple Vim versions — ensure broad compatibility

Quick Reference

Naming Conventions

Installs
1
GitHub Stars
5
First Seen
Jun 11, 2026
vim-script — testdino-hq/google-styleguides-skills