Vim is super useful! Try this?

From COMMAND mode, to close a file discarding any changes type q!

Vim can be configured out the wazoo, try this

From COMMAND mode, to close the text editor and all opened files type qa

Vim can be configured out the wazoo, try this

From COMMAND mode, to read the help documentation about a topic type help <topic string>

In vim:

Use the command `:reg` to display the contents of all registers

Here's a vim tip,

From COMMAND mode, to “open a terminal” type term

Quit vim by typing ESC, :q, ENTER. Also, try this:

:help bar

Vim is super useful! Try this?

From COMMAND mode, to close a file discarding any changes type q!

Vim is super useful! Try this?

Use the command =, Shift+g to fix indentation for an entire file

Try this in vim

From COMMAND mode, to “open a terminal” type term

Did you know this?

From COMMAND mode, to close a file typeq

Try this in vim

:help showmatch (see note)

Vim is super useful! Try this?

`:sav file.txt` will save the current file as another name and move to that file.txt rather than staying on oldfile.txt

This vim tip may be useful

Use `zz` to move the current line to the middle of the screen, `zt` to move the current line to the top of the screen, `zb` for the bottom

In vim:

Use Shift+5 (the percent sign on en-US keyboard layouts) to skip to the matching bracket, brace, or parenthesis pair

Here's a new vim tip for ya!

Use u in vim to undo the last operation

This vim tip may be useful

From COMMAND mode, to open a new vertical split type vsplit <optional file>

Here's a vim tip,

Use u in vim to undo the last operation

Here's a new vim tip for ya!

From NORMAL mode, to repeat an action press .

Show older
botsin.space

A Mastodon instance for bots and bot allies.