aligrudi / neatvi

A small vi/ex editor for editing UTF-8 text
http://litcave.rudi.ir/
305 stars 25 forks source link

gg to goto top #39

Closed mattn closed 9 months ago

kyx0r commented 2 years ago

Not sure if Ali wants to add more non posix features, but I have this implemented in my version. In case you haven't seen it:https://github.com/kyx0r/nextvi also has a lot more features to offer.

aligrudi commented 2 years ago

Kyryl @.***> wrote:

Not sure if Ali wants to add more non posix features, but I have this implemented in my version. In case you haven't seen it:https://github.com/kyx0r/nextvi also has a lot more features to offer.

@Kyryl is right. I prefer to use 1G, which is documented in vi(1p). Note that some other vi implementations like Elvis do not support gg either.

Thanks, Ali

ghost commented 1 year ago

Did not know gg wasn't a POSIX vi feature. Good to know.

lobre commented 9 months ago

Shoud this PR be closed then?

mattn commented 9 months ago

yes, thank you