How to create markers in gvim editor? to easily navigate while editing a file.
Create markers to easily navigate in editor.
creates a marker with short-cut <character>
Example to go to line 7 of the text file. First hit <esc> key on keyboard and then type ma on keyboard.
ma will create first marker.
after this you want to go to line 30 to edit. then on line 30 create another marker mb
mb will create second marker.
Now from any line in Visual Mode you can type `a or `b to goto there respective markers.
The markers can be deleted with
d`a or d`b
You can create multiple markers to avoid the trouble of remembering the line numbers in huge text files.
List all the markers with command