VIM

From John Freier
Revision as of 11:36, 10 April 2020 by Jfreier (Talk | contribs)

Jump to: navigation, search

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