🪟 Windows TippsBitLocker stuck on Decrypting or Encrypting in Windows 11(17.09.2026 um 00:29 Uhr)
🕵️ SicherheitslückenCVE-2026-69110 | Microck opencode-studio up to 2.4.3 missing authentication(17.09.2026 um 03:21 Uhr)
🪟 Windows TippsBitLocker stuck on Decrypting or Encrypting in Windows 11(17.09.2026 um 00:29 Uhr)
🕵️ SicherheitslückenCVE-2026-69110 | Microck opencode-studio up to 2.4.3 missing authentication(17.09.2026 um 03:21 Uhr)
🔧 Programmierung 🕛 vor 1 Jahr 3 Min Lesezeit
0

Vim: Commands Every Developer Must Know 💻🫵

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

No matter if you are a sysadmin or a software developer, if you work in the Linux terminal, you would face the situation where you need to edit text files in the terminal






What is Vim?



Vim is a powerful text editor used in Unix/Linux systems, known for its efficiency and flexibility. It operates in different modes, each serving a specific purpose. Here are some essential Vim commands to help you get started:






Modes in Vim



Vim has three primary modes:



Command Mode: This is the default mode when you start Vim. You can navigate, delete, and copy text in this mode.



Insert Mode: Used for inserting text into the file. Enter this mode by pressing i, a, I, A, o, or O.



Visual Mode: Allows you to select text using the arrow keys.






Basic Commands



Entering Insert Mode





  • i: Insert before the cursor.


  • a: Insert after the cursor.


  • I: Insert at the beginning of the line.


  • A: Insert at the end of the line.


  • o: Open a new line below the current line.


  • O: Open a new line above the current line.



Navigating in Vim





  • h: Move left.


  • j: Move down.


  • k: Move up.


  • l: Move right.


  • gg: Move to the beginning of the file.


  • G: Move to the end of the file.


  • nG: Move to line number n.



Editing Text





  • x: Delete the character under the cursor.


  • X: Delete the character before the cursor.


  • dd: Delete the current line.


  • dw: Delete from the cursor to the end of the word.


  • d$: Delete from the cursor to the end of the line.


  • dG: Delete from the cursor to the end of the file.



Copying and Pasting





  • yy: Copy the current line.


  • yw: Copy from the cursor to the end of the word.


  • y$: Copy from the cursor to the end of the line.


  • yG: Copy from the cursor to the end of the file.


  • p: Paste after the cursor.


  • P: Paste before the cursor.



Undo and Redo





  • u: Undo the last change.


  • Ctrl + r: Redo the undone change.



Searching and Replacing





  • /search_term: Search for search_term.


  • n: Move to the next match.


  • N: Move to the previous match.


  • :%s/foo/bar/g: Replace all occurrences of foo with bar in the entire file.


  • :%s/foo/bar/gc: Replace all occurrences with confirmation.



Saving and Quitting





  • :w: Save the file.


  • :wq: Save and quit.


  • :q: Quit (if no changes have been made).


  • :q!: Quit without saving changes.



These commands cover the basics of using Vim effectively. For more advanced usage, refer to the detailed guides and cheat sheets available online

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf dev.to lesen.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
2 Quellen
CVE-2026-92597 | Nodemailer up to 9.0.x Addressparser lib/addressparser input validation (EUVD-2026-81297)
1 Quelle
BitLocker stuck on Decrypting or Encrypting in Windows 11
1 Quelle
CVE-2026-92599 | hapijs joi up to 17.13.6/18.0.0-18.2.5 isoDate Joi.string.isoDate redos (EUVD-2026-81299)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Vim: Commands Every Developer Must Know 💻🫵

Thematisch verwandte Begriffe: Commands, Every, Developer, Must · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...