||Text search and replace
||searches the next occurrence of the word pattern end from the cursor position.
For example, end, blend, ended. Use :set hlsearch described in the section to highlight
all occurrences in the file.
||searches the previous occurrence of the word end from the cursor position.
||repeats the most recent search, in the same direction.
||repeats the most recent search, in the opposite direction.
||replaces the first occurrence of the word w1 with w2.
||replaces all occurrences of the word w1 with w2.
||replaces all occurrences of the word w1 with w2, ignoring case.
||displays the line number from 1. To turn off line number, use :set nonumber.
||n sets the number of equivalent blank spaces to expand for each tab stop if pressing the tab key.
For example, :set tabstop=4 sets the tab stop to 4 spaces. The default value is 8.
||highlights all results of a pattern search. To turn off highlights, use :set nohlsearch.
||sets word-wrap mode. If a text line is longer than the current window width, the text
is wrapped to the next line. Use :set nowrap to turn off word-wrap mode so only one text line
is shown per screen line.
||turns off color highlighting for syntax checking.
Use :syntax on to enable syntax color highlighting useful to view program or script files.
||to see all available command options starting with : (colon).
||goes to the line number n and places the cursor at the first column of line.
If the line number does not exist, position the cursor at the last text line.
||splits the screen horizontally. Type Ctrl W k to switch to the top window or
Ctrl W j to switch to the bottom. To close either one of the split windows to leave
the split screen mode, use q! to close.
||pastes block of text from the clipboard to where the cursor is while in editing