Kris3c's Space

Home About Article Hackries Writeups Projects

Vim : The Exit Command

Date: 30 March 2025

Picsart_25-03-30_17-02-13-838

Vim is a powerful command-line editor designed to boost your coding speed—even if you’re using it to write another editor within Vim itself.

This article will take you from struggling to exit Vim to customizing your own keybindings for quitting like a pro.

Table of Content

Modes

Normal Mode

Cursor Movement

Movement with Numbers

Undo & Redo

Searching

Marking Points

Other Useful Commands

Insert Mode

Command Mode

Configuration

We can place any settings in ~/.vimrc to make them permanent.

set mouse=a
set number
set relativenumber

Visual Mode

Combining with Numbers
Change & Replace
Word and Line Navigation
Deleting Words
Line Navigation
File Navigation
Indentation & Repetition

Visual Line Mode

Visual Block Mode

Registers & Macros

Registers

Macros