Difference between revisions of "VIM"

From John Freier
Jump to: navigation, search
Line 18: Line 18:
 
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
 +
 +
 +
== 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

Revision as of 10:15, 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.

 ma

To go to the bookmark press ` and then letter marking you want to go to.

 `a


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