Document command line arguments
lobre opened this issue · 9 comments
I see that you parse 3 command line arguments in the main logic of vi: -s
, -e
and -v
.
https://github.com/aligrudi/neatvi/blob/master/vi.c#L1653
I am struggling to understand what they do exactly, and I can't find this info in the README either.
Do you mind explaining their meaning? And if so, does it make sense to document that in the README?
I saw you just added them with -h
. Thank you!
Maybe I can suggest also to mention that a file can be provided.
vi [options] [file]
And as neatvi supports multiple buffers, maybe having it take multiple files as input could also be nice.
vi [options] [file ...]
I did not know that neatvi has ex mode. That is great.
As Neatvi does not support next and prev commands, I just added the first form.
Would this make sense now that neatvi supports next and prev? (b+
/b-
)
That is nice!
I am trying to open neatvi with some files filtered in a pipe with it seems neatvi does not like it though.
find | grep yml | xargs neatvi
It needs to read from the tty.
Is there a technical reason why this is the case? What is blocking from having xargs
working "normally"?