martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.27k stars 263 forks source link

automatic marks #393

Open aeosynth opened 8 years ago

aeosynth commented 8 years ago

vim sets some marks automatically (full list). i'd really like '' (previous position), and '. (position of last change).

malikbenkirane commented 5 years ago

Hi,

You can use ''m to save the current position and M to get back to that position. Although your proposition could be a nice feature, typing '' expects m or M and it have been easy for me to get used to this way of doing. Still is, saving the file will delete all the marks and this is not suitable.

Am I the only one to experience this issue ?

adigitoleo commented 3 years ago

@malikbenkirane I'm two years late, but thanks for the tip about ''m and M, I couln't figure it out from the manual.

saving the file will delete all the marks

Do you still have this issue? It's not happening for me. I do think automatic marks could be nice as well though.