macOS
brew install vimlocal Homebrew formula metadata
sudo port install vimMacPorts ports tree · editors/vim/Portfile · 来源: api.github.com
安装
brew install vimlocal Homebrew formula metadata
sudo port install vimMacPorts ports tree · editors/vim/Portfile · 来源: api.github.com
sudo apk add vimAlpine Linux edge package indexes · vim · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#vimnixpkgs package indexes · vim · 来源: raw.githubusercontent.com
sudo pacman -S vimArch Linux sync databases · vim · 来源: geo.mirror.pkgbuild.com
sudo zypper install vimopenSUSE Tumbleweed package metadata · vim · 来源: download.opensuse.org
sudo dnf install vim-X11Fedora Rawhide package metadata · vim-X11 · 来源: dl.fedoraproject.org
choco install vimChocolatey community package catalog · vim · 来源: community.chocolatey.org
scoop install main/vimScoop official bucket manifest trees · bucket/vim.json · 来源: api.github.com
winget install --id vim.vim -eWindows Package Manager source index · vim.vim · 来源: cdn.winget.microsoft.com
概览
Vi 'workalike' with many additional features
历史
Vim is the long-running Vi IMproved text editor created by Bram Moolenaar and maintained as one of the central tools in Unix-like command-line culture. The official Vim README describes it as a greatly improved version of Unix vi with features such as multi-level undo, syntax highlighting, command-line history, online help, spell checking, filename completion, block operations, a scripting language, and an optional GUI while preserving vi compatibility.
Vim began in the late 1980s as Bram Moolenaar's Amiga-oriented vi clone, initially called Vi IMitation and based on the Stevie editor lineage. Secondary historical summaries place the first public distribution of Vim 1.14 on Fred Fish disk #591 in January 1992, with later releases expanding from an Amiga editor into a portable Unix, Windows, macOS, and multi-platform editor.
As the editor gained functionality beyond imitation, the name became Vi IMproved. Important feature eras included multiple windows in the 3.x period, a GUI in the 4.x period, syntax highlighting and early scripting in Vim 5.0, folding and plugins in Vim 6.0, spell checking and completion in Vim 7.0, jobs and asynchronous I/O in Vim 8.0, popup windows and text properties in Vim 8.2, and Vim9 Script in Vim 9.0.
Bram Moolenaar remained Vim's central author and maintainer for more than 30 years. After his death in August 2023, upstream Vim continued under the project and contributor community; the Vim 9.1 release in January 2024 was dedicated to Moolenaar and described him as Vim's lead developer for more than 30 years.
Vim became a default or near-default editor in many Unix-like environments because it preserves vi's keyboard model while adding programmer-oriented features. The upstream README notes that Vim is often installable through users' favorite package managers, that small versions are preinstalled on Mac and Linux, and that a minimal vim.tiny build is used by many Linux distributions as the default vi implementation.
Developer-culture adoption is reinforced by Vim's documentation, mailing lists, script ecosystem, and plugin culture. Vim's own help points users to vim.org, vimhelp, mailing lists, Vi and Vim Stack Exchange, and the built-in user manual, while the GitHub project lists the official repository and issue workflow used by modern contributors.
Vim is used for editing source code, configuration files, prose, commit messages, logs, and other plain text. Its package-nerd value comes from being available over SSH, in containers, on recovery shells, and across operating systems, with a configuration model centered on vimrc files and scriptable behavior.
The editor's usage model is modal: normal mode commands, insert mode text entry, visual selections, Ex commands, registers, mappings, macros, and text objects combine into a keyboard-centered workflow. Vim's own introduction emphasizes that all commands are given with the keyboard, keeping fingers on the keyboard and eyes on the screen.
Vim is one of the canonical examples of a package that is both a normal user application and a system-level expectation. It appears as an editor, a vi provider, a scripting host, a terminal UI dependency for habits and tutorials, and the source of many Vim-like interfaces in unrelated programs.
Its significance is also social: Vim is charityware, historically encouraging donations for children in Uganda. That charityware model remains part of official Vim messaging and carried into related projects such as Vim Classic.
安全态势
没有找到 vim 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.vimrc~/.vim/vimrc$XDG_CONFIG_HOME/vim/vimrc~/_vimrc~/vimfiles/vimrc$VIM/_vimrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ex | cli | 全局可执行文件 | |
rview | cli | 全局可执行文件 | |
rvim | cli | 全局可执行文件 | |
vi | cli | 全局可执行文件 | |
view | cli | 全局可执行文件 | |
vim | cli | 全局可执行文件 | |
vimdiff | cli | 全局可执行文件 | |
vimtutor | cli | 全局可执行文件 | |
xxd | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:vim |
|---|---|
| 版本 | 9.2.0850 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/vim |
| 主页 | https://www.vim.org/ |
| 仓库 | https://github.com/vim/vim |
| 上游文档 | https://vimhelp.org/ |
| 许可证 | Vim |
| 源码归档 | https://github.com/vim/vim/archive/refs/tags/v9.2.0850.tar.gz |
| 最后更新 | 2026-07-24T21:42:29Z |
| Pulse | updated |
| 依赖 | gettext, libsodium, ncurses |
| 构建依赖 | gettext, lua, python@3.14, ruby |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | Additional features can be enabled by installing: lua, python@3.14, ruby |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | vim |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
vim 2:9.1.1230-2
Vi IMproved - enhanced vi editor
sudo apt install vimvim-athena 2:9.1.1230-2
Vi IMproved - enhanced vi editor (dummy package)
sudo apt install vim-athenavim-common 2:9.1.1230-2
Vi IMproved - Common files
sudo apt install vim-commonvim-doc 2:9.1.1230-2
Vi IMproved - HTML documentation
sudo apt install vim-docvim-gtk3 2:9.1.1230-2
Vi IMproved - enhanced vi editor - with GTK3 GUI
sudo apt install vim-gtk3vim-gui-common 2:9.1.1230-2
Vi IMproved - Common GUI files
sudo apt install vim-gui-commonvim-motif 2:9.1.1230-2
Vi IMproved - enhanced vi editor - with Motif GUI
sudo apt install vim-motifvim-nox 2:9.1.1230-2
Vi IMproved - enhanced vi editor - with scripting languages support
sudo apt install vim-noxvim-runtime 2:9.1.1230-2
Vi IMproved - Runtime files
sudo apt install vim-runtimevim-tiny 2:9.1.1230-2
Vi IMproved - enhanced vi editor - compact version
sudo apt install vim-tinyxxd 2:9.1.1230-2
tool to make (or reverse) a hex dump
sudo apt install xxdvim
nix profile install nixpkgs#vimvim 2:9.1.0016-1ubuntu7
Vi IMproved - enhanced vi editor
sudo apt install vimvim-athena 2:9.1.0016-1ubuntu7
Vi IMproved - enhanced vi editor (dummy package)
sudo apt install vim-athenavim-common 2:9.1.0016-1ubuntu7
Vi IMproved - Common files
sudo apt install vim-commonvim-doc 2:9.1.0016-1ubuntu7
Vi IMproved - HTML documentation
sudo apt install vim-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.