💾 Archived View for freeshell.de › tldr › vim.gmi captured on 2024-02-05 at 12:14:23. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
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.
vim {path/to/file}
vim +{line_number} {path/to/file}
:help<Enter>
:wq<Enter>
u
/{search_pattern}<Enter>
:%s/{regular_expression}/{replacement}/g<Enter>
: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).