Rechercher

PythonReactSEOPDF
GitHub Skill

vim

Vim text editor with motions, macros, and plugins. Use for terminal editing.

G1Joshi☆ 5 Étoiles du dépôt0 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Vim

Vim is the universal text editor installed on every UNIX system. While Neovim innovates, Vim focuses on backward compatibility and stability.

When to Use

  • SSH / Servers: It is always there. vi usually aliases to vim.
  • Stability: Scripts written in 2005 still work.
  • Resource Constraints: Runs on embedded routers.

Core Concepts

Modes
  • Normal: Navigation (hjkl).
  • Insert: Typing (i, a).
  • Visual: Selection (v).
  • Command: Ex commands (:w, :q).
Composability

Operator + Motion = Action. d (delete) + w (word) = dw. c (change) + i (inside) + " (quote) = ci".

Best Practices (2025)

Do:

  • Learn the Basics: vimtutor is mandatory for every developer.
  • Use .vimrc: Keep a minimal config for servers (line numbers, syntax on).
  • Use Neovim for IDE: For daily coding, Neovim is preferred. Use Vim for quick edits.

Don't:

  • Don't use arrow keys: Force yourself to use hjkl.

References

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-03-11
Mise à jour de l’index
2026-03-11
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!