Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Vim tag definition

Shulou Source: shulou.com Published: 2022-06-03 07:44:00 11月23日 Update

one。 Single file:

Mark the M + character, such as press ms (start) at the beginning of the line, and begin the tag.

To return to your marked point, press the `+ marker character.

two。 Multiple files:

M + uppercase mark character

If * defines the label.

three。 Use the symbol ``to return to the place where you take off

For example, if the current cursor is on the second line, command 15gg, the cursor reaches the front of line 15, press ``to return to the position of the cursor on the second line.

four。 Go back to where you were last time you quit.

Every time you exit Vim,'0 creates a special tag'0 back and forth to the location where you last edited the file.

Tags: Tag position cursor character file label beginning special superscript will create single simultaneous command place multiple uppercase symbol Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Shulou Information Apple Microsoft Linux