Vim
Vim usage, shortcuts, and configuration tips.
How to Delete Lines in Vim / Vi
Delete lines in Vim or Vi with dd, :%d, visual mode, or :g/pattern/d. Examples for single lines, ranges, all lines, and pattern-based deletion.

How to Save a File and Exit Vim
Save a file and quit Vim or Vi with :w, :wq, :q!, :x, ZZ, and ZQ. This guide explains the common save, exit, discard, and read-only file commands.

How to Show Line Numbers in Vim and Vi
Display line numbers in Vim or Vi for the current session, make them permanent in .vimrc, and switch between absolute, relative, and hybrid numbering.

How to Copy, Cut and Paste in Vim / Vi
Vim uses yank, delete, and put commands to copy, cut, and paste text. This guide covers normal mode commands, visual mode selections, registers, and system clipboard integration.

How to Search in Vim / Vi
Learn how to search in Vim / Vi with forward and backward search, whole-word matching, case sensitivity, search highlighting, and smartcase examples.

Find and Replace in Vim / Vi
Step-by-step guide to finding and replacing text in Vim using the :substitute command. Covers ranges, flags, regex, case sensitivity, and practical examples.

How to Create a File in Linux
Several ways to create a file in Linux from the command line: touch, redirection, cat, echo, printf, heredoc, and text editors. Includes examples for each method.



