Skip to content

Vim

The ubiquitous modal text editor.

Mostly friendly. Welcome, with extra rules.

Homepage Repository

AI use is allowed for research, small targeted fixes (e.g. security fixes) and help with tests and benchmarks, provided the use is disclosed with an Assisted-by trailer and you can explain every line and have the right to submit it under the Vim license. Large mostly generated pull requests, AI-written commit messages and PR descriptions, AI answers to reviewers and AI reviews of other people's pull requests are not acceptable.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • Contributor takes full responsibility
  • Output must be license-compatible
  • AI only for some kinds or sizes of work
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
No policy
AI-written textPull request descriptions, issue comments and summaries written by AI.
Unfriendly
  • Only minor help (autocomplete, grammar)

What is allowed and what is not

Code contributions

  • Small fixes · Allowed with conditions

    Allowed for small, targeted fixes such as security fixes, if AI use is disclosed with an Assisted-by trailer and you can explain every line.

    • Disclose AI use: Assisted-by: trailer in the commit
    • Take full responsibility: must understand every line and be able to explain it
    • License-safe output: must have the right to submit the code under the Vim license
    4 quotes

    Use of AI is allowed within the limits mentioned below, but you remain fully responsible for everything you submit. Disclosure of AI use is required, using an `Assisted-by:` trailer.

    Contributing to Vim

    Small, targeted fixes (e.g. for security issues).

    Contributing to Vim

    You must understand every line of your change and be able to explain it.

    Contributing to Vim

    You must have the right to submit the code under the Vim license.

    Contributing to Vim
  • Large or generated changes · Not allowed

    Large pull requests that were mostly generated are not acceptable and may be closed as too large to review with confidence; split changes into smaller steps.

    Quote

    Large pull requests that were mostly generated. We may close pull requests that are too large to review with confidence, whatever their origin.

    Contributing to Vim
  • Tests · Allowed with conditions

    Help with writing tests and benchmarks is explicitly acceptable, under the same disclosure and responsibility rules.

    • Disclose AI use: Assisted-by: trailer in the commit
    • Take full responsibility: must understand every line and be able to explain it
    • License-safe output: must have the right to submit the code under the Vim license
    4 quotes

    Use of AI is allowed within the limits mentioned below, but you remain fully responsible for everything you submit. Disclosure of AI use is required, using an `Assisted-by:` trailer.

    Contributing to Vim

    Help with writing tests and benchmarks.

    Contributing to Vim

    You must understand every line of your change and be able to explain it.

    Contributing to Vim

    You must have the right to submit the code under the Vim license.

    Contributing to Vim
  • Research and learning · Allowed

    Research, looking things up and understanding existing code are explicitly listed as acceptable uses of AI.

    2 quotes

    Use of AI is allowed within the limits mentioned below, but you remain fully responsible for everything you submit. Disclosure of AI use is required, using an `Assisted-by:` trailer.

    Contributing to Vim

    Research, looking things up, understanding existing code.

    Contributing to Vim
  • Other code contributions rule · Allowed with conditions

    Maintainers decide whether a contribution is acceptable, so AI-assisted work is accepted only at their discretion.

    Quote

    Maintainers decide whether a contribution is acceptable.

    Contributing to Vim
  • Other code contributions rule · Allowed with conditions

    Contributors who use AI are expected to fix any problems their change introduces.

    Quote

    You are expected to fix problems your change introduces.

    Contributing to Vim
Not covered by the policy (9)

Autocomplete, Mechanical changes, Build and CI, Documentation, Translating the software, Images and media, Checking own work, AI as author, Autonomous agents.

Issues & bug reports

The policy does not cover this area.

AI-written text

  • Pull request descriptions · Not allowed

    Generated pull request descriptions are not acceptable; fixing spelling, grammar and translations in your own text is fine.

    2 quotes

    Generated commit messages or PR descriptions. Write them yourself that ensures you have a good understanding of the change.

    Contributing to Vim

    Fixing spelling, grammar and translations is fine.

    Contributing to Vim
  • Commit messages · Not allowed

    Generated commit messages are not acceptable; fixing spelling, grammar and translations in your own message is fine.

    2 quotes

    Generated commit messages or PR descriptions. Write them yourself that ensures you have a good understanding of the change.

    Contributing to Vim

    Fixing spelling, grammar and translations is fine.

    Contributing to Vim
  • Answering reviewers · Not allowed

    Answering review questions by pasting AI output is not acceptable; reviewers want your own understanding of the change.

    Quote

    Answering review questions by pasting AI output. Reviewers want to hear your own understanding of the change.

    Contributing to Vim
  • Reviewing others' work · Not allowed

    Posting AI-generated reviews on other people's pull requests is not acceptable, although automated CI checks are fine.

    Quote

    Posting AI-generated reviews on other people's pull requests. Automated CI checks are fine.

    Contributing to Vim
  • Translating own text · Allowed

    Fixing translations is fine; it is named together with spelling and grammar fixes as the exception to the ban on generated commit messages and PR descriptions.

    Quote

    Fixing spelling, grammar and translations is fine.

    Contributing to Vim
  • Proofreading · Allowed

    Fixing spelling and grammar is fine; this is stated as the exception to the ban on generated commit messages and PR descriptions.

    Quote

    Fixing spelling, grammar and translations is fine.

    Contributing to Vim
Not covered by the policy (5)

Comments, Forum and list posts, Quoting AI output, Summarizing discussions, Bots posting.

General

  • Use of AI in discussions is covered by the project's Code of Conduct, which is a separate document.

    “See also the [Code of Conduct](CODE_OF_CONDUCT.md), which covers the use of AI in discussions.” (Contributing to Vim)

Sources