Difference between revisions of "VIM"
From John Freier
Line 13: | Line 13: | ||
== Bookmarks == | == Bookmarks == | ||
− | To bookmark a position press m and then a letter. | + | To bookmark a position press m and then a letter. Use capital letter for Global or multiple files. |
ma | ma | ||
To go to the bookmark press ` and then letter marking you want to go to. | To go to the bookmark press ` and then letter marking you want to go to. | ||
`a | `a | ||
+ | |||
+ | To see all your bookmarks. | ||
+ | :marks | ||
+ | |||
+ | To to last edit location. | ||
+ | `. | ||
+ | |||
+ | |||
+ | |||
Revision as of 10:36, 10 April 2020
Syntax Highlighting
Inside VI type the command below.
:syntax on
Maybe
:syn on
Bottom Page
This goes to the bottom of the page.
G
Bookmarks
To bookmark a position press m and then a letter. Use capital letter for Global or multiple files.
ma
To go to the bookmark press ` and then letter marking you want to go to.
`a
To see all your bookmarks.
:marks
To to last edit location.
`.
Record
To record a set of keys press q and then a letter to record to.
qa
To play back the recording press @ and then letter marking you want to play back.
@a