-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

vim


> Vim (Vi IMproved), a command-line text editor, provides several modes for different kinds of text manipulation.

> Pressing `i` enters insert mode. `<Esc>` enters normal mode, which enables the use of Vim commands.

More information.


Open a file:

vim {path/to/file}

Open a file at a specified line number:

vim +{line_number} {path/to/file}

View Vim's help manual:

:help<Enter>

Save and Quit:

:wq<Enter>

Undo the last operation:

u

Search for a pattern in the file (press `n`/`N` to go to next/previous match):

/{search_pattern}<Enter>

Perform a regular expression substitution in the whole file:

:%s/{regular_expression}/{replacement}/g<Enter>

Display the line numbers:

:set nu<Enter>


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Tue May 21 03:04:44 2024