vim - What is the use case of marks? -


both sublime text 2 , vim have feature called marks. however, i've not been able find use case it. feels can can done other things, better.

so question is: use case of marks?

if mean marking text lines in vim, use quite bit.

for example, if want go @ else, can use ma mark current line a, go check out else in file, return simple 'a.

similarly, if want delete unknown number of lines between current position , somewhere else, use ma, go "somewhere else, , use d'a.

there many more things can them (such changing text between current position , mark), 2 common ones use (and use them lot).


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -