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 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | thefuga |
| Repository | thefuga/claude-x |
| Popularity | 1 GitHub stars |
| Category | Interface |
| Security | Low risk (96/100) |
| Rank | #4,319 of 9,397 Claude Code mods; #1,856 in Interface |
| License | MIT |
| Last commit | 2026-10-06 |
| Hooks | 7 events |
| Sees | classic hooks |
| Draws on | AbovePrompt |
Is vim safe to install?
vim scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.sleep | |
$.command.list | |
$.command.run | drives Claude |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.session.id | |
$.session.root | |
$.session.turns | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.turn.abort | drives Claude |
$.ui.focus | draws interface |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
How do I install vim?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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
- 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)