Difference between revisions of "VIM"
From John Freier
Line 35: | Line 35: | ||
To play back the recording press @ and then letter marking you want to play back. | To play back the recording press @ and then letter marking you want to play back. | ||
@a | @a | ||
+ | |||
+ | |||
+ | == Windows == | ||
+ | '''Switch''' between windows. The arrow key or direction key you want to go to. | ||
+ | ctrl+w {arrow key} or {h,j,k,l} |
Revision as of 13:20, 8 June 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
Windows
Switch between windows. The arrow key or direction key you want to go to.
ctrl+w {arrow key} or {h,j,k,l}