Skip to content
المشاريع

حول

Vim for Windows 10/11. Edits text and code with modal keyboard commands, splits windows into multiple buffers, and runs search-and-replace across files for fast, mouse-free editing on large projects.

أدوات التطوير

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Modal editing , switch between Normal, Insert, Visual, and Command-line modes to navigate and transform text with single keystrokes.
  • Split windows and tabs , open multiple files or views of the same buffer side by side to compare and cross-edit.
  • Macro recording , capture a sequence of edits with q and replay it across lines or files to automate repetitive changes.
  • Regex search and replace , run scoped substitutions across a buffer or an entire project with :s, :g, and :v.

النمو المقاس للنجوم

خلال 24 ساعة
التحديث متأخر
خلال 7 أيام
التحديث متأخر
خلال 15 يومًا
التحديث متأخر
خلال شهر
التحديث متأخر

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Vim - Modal Text Editor for Windows 10/11

Vim is a highly configurable, modal text editor that lets you edit code, configuration files, and prose without ever leaving the keyboard. Developers, sysadmins, and power users rely on it for fast navigation, macro recording, and split-window workflows. This page provides the Windows build, setup guidance, and the operational details you need to get productive quickly.

Status Stable  Windows 10 | 11  Type Reference  License MIT  Version 2026.1

Vim on Windows, reference page banner

Open reference page

Overview

Vim is a terminal-style text editor built around modal editing: you switch between modes to navigate, select, and modify text using single-key commands instead of mouse clicks. That lets you jump to a line, delete a paragraph, re-indent a block, or record a repetitive change as a macro in a fraction of the keystrokes a conventional editor requires. It handles everything from quick config edits to large multi-file source trees, with syntax highlighting, search and replace with regular expressions, and split windows for comparing files side by side.

It is used most heavily by software developers, system administrators, and anyone who spends the day in a terminal and wants the same editing model on their desktop. On Windows 10/11 the native build integrates with PowerShell and Command Prompt, respects your existing _vimrc, and supports plugins, so a workflow you built on Linux or macOS carries over largely unchanged. If you want an editor that stays out of your way and rewards muscle memory, this is the build to install.

Requirements

Spec Minimum Recommended
OS Windows 10 (64-bit) Windows 11 (64-bit)
CPU 1 GHz dual-core 2 GHz quad-core or better
RAM 512 MB 2 GB or more
Display 1024x768 terminal or console window 1920x1080 with a Unicode-capable font
Storage 50 MB free 200 MB free for plugins and swap files
Terminal Windows Console Host Windows Terminal with UTF-8 and true color enabled

Key Features

  • Modal editing , switch between Normal, Insert, Visual, and Command-line modes to navigate and transform text with single keystrokes.
  • Split windows and tabs , open multiple files or views of the same buffer side by side to compare and cross-edit.
  • Macro recording , capture a sequence of edits with q and replay it across lines or files to automate repetitive changes.
  • Regex search and replace , run scoped substitutions across a buffer or an entire project with :s, :g, and :v.
  • Syntax highlighting and filetype detection , get language-aware coloring and indentation for hundreds of file types out of the box.
  • Plugin ecosystem , extend the editor with Vimscript or Lua plugins for linting, fuzzy finding, Git integration, and language servers.
  • Persistent undo and swap files , recover edits after a crash and step back through changes even after closing the file.
  • Native Windows integration , run inside PowerShell, Command Prompt, or Windows Terminal with clipboard and path handling that matches the platform.

Tips and Best Practices

  • Enable set nocompatible at the top of your _vimrc so you get Vim behavior instead of legacy Vi quirks.
  • Set set encoding=utf-8 and use a font like Cascadia Code or Consolas to avoid garbled glyphs in Windows Terminal.
  • Run vim --version after install to confirm the +clipboard and +python3 features are present before relying on them in plugins.
  • Store your config in %USERPROFILE%\_vimrc rather than the install directory so upgrades do not overwrite your settings.
  • Enable persistent undo with set undofile and point undodir at a writable folder to survive editor restarts.
  • Map Caps Lock to Escape at the OS level to make mode switching far less straining during long sessions.
  • Use :terminal to open a shell inside Vim so you can run builds and tests without switching windows.

Main Tools

  • Normal mode , the default mode for navigation and command composition; pick it whenever you are moving around or issuing operators.
  • Insert mode , enter with i, a, o, or c when you need to type literal text into the buffer.
  • Visual mode , select ranges characterwise, linewise, or blockwise, then apply an operator like d, y, or > to the selection.
  • Command-line mode , run Ex commands such as :w, :e, :g, and :s for file operations and bulk transformations.
  • Quickfix and location lists , collect compiler errors or grep hits and jump between them with :cnext and :cprev.
  • Netrw file browser , open :Explore to browse directories and open files without leaving the editor.

Supported Content

  • Source code in C, C++, Python, JavaScript, Rust, Go, and hundreds of other languages via filetype plugins.
  • Configuration formats including JSON, YAML, TOML, INI, and XML with syntax highlighting and folding.
  • Git repositories through plugins like vim-fugitive for staging, diffing, and committing inside the editor.
  • Language servers and linters via the built-in LSP client and plugin wrappers such as ALE or coc.nvim.
  • Markdown and reStructuredText documents with syntax highlighting, folding, and preview plugins.
  • Windows paths and UNC shares through native _vimrc and %USERPROFILE% handling.

FAQ

Does Vim run natively on Windows without WSL?

Yes. The Windows build runs directly as a console application inside PowerShell, Command Prompt, or Windows Terminal, with no Linux subsystem required.

Where does Vim look for my configuration file on Windows?

It reads _vimrc from %USERPROFILE% and also checks $VIM and $VIMRUNTIME for defaults, so placing your custom settings in your user profile keeps them safe across upgrades.

Can I use my existing Linux or macOS vimrc on Windows?

Largely yes, but review path separators, shell commands, and plugin dependencies, since Windows uses backslashes and PowerShell instead of bash.

How do I recover a file after Vim or Windows crashes?

Run vim -r filename to open the swap file Vim wrote, then save the recovered buffer to a new file before discarding the swap.

Does Vim support true color and Unicode in Windows Terminal?

Yes, when set termguicolors is enabled and the terminal is configured for UTF-8, themes and glyphs render as intended.

Notes

Vim is distributed under the Vim license, and the Windows build bundles runtime files maintained by the upstream project. Plugin compatibility varies by Vim version, so check a plugin's stated minimum before installing.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…