vim

vim is a Claude Code mod by thefuga that a vim command line for Claude Code: :w and :e keep a draft per session, :q quits (! to force), and any other name runs that slash command, with Tab completion. Opened by the focus chord.

Updated 2026-10-06

What is vim?

vim is a Claude Code mod by thefuga that a vim command line for Claude Code: :w and :e keep a draft per session, :q quits (! to force), and any other name runs that slash command, with Tab completion. Opened by the focus chord. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authorthefuga
Repositorythefuga/claude-x
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (100/100)
Rank#4,814 of 5,272 Claude Code mods; #1,970 in Interface
LicenseMIT
Last commit2026-10-06
Hooks7 events
Seesclassic hooks
Draws onAbovePrompt

Is vim safe to install?

vim scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.sleep
$.command.list
$.command.rundrives Claude
$.prompt.fillwrites the prompt box
$.prompt.read
$.session.id
$.session.root
$.session.turns
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.turn.abortdrives Claude
$.ui.focusdraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface

How do I install vim?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/thefuga/claude-x
    claude plugin validate ./claude-x/mods/vim
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add thefuga/claude-x && claude plugin install vim@claude-x

Or ask Claude to set it up

Paste this into Claude Code and it installs vim for you:

Install the "vim" Claude Code mod from https://github.com/thefuga/claude-x/tree/main/mods/vim. Run claude plugin validate on it first and show me what it can access before you enable it.

More from thefuga/claude-x

This repository has 6 Claude Code mods on MCPMods.

  • attachments: The draft's attachments as chips above the prompt: each pasted picture, pasted text, @-mentioned file or folder and, wit (Review before installing)
  • issues: Finds the repository's GitHub issues as @# is typed in the prompt, as opencode.vim does: a list above the prompt filtere (Review before installing)
  • statusline: A vim-style status bar in the Claude Code footer: editor mode, permission mode, model, effort, git state, usage and curs (Review before installing)
  • stfu: Drops the whimsical word from the line that runs while Claude works and from the one that closes a turn, leaving the ela (Low risk)
  • syntax: Colors the prompt's draft as it is typed: its markdown, the code in its fences, and in shell mode the command. (Low risk)