ttscoff/mdless

support for opening file in editor using ```v``` key

chrisbeardy opened this issue · 2 comments

Not sure if a bug or a non implemented feature.

When using less you can open the file in the default text editor by pressing the v button. and on exit of the text editing it returns to less.

It would be great to add this to mdless for quick editing of files.

Currently I am getting the error message Cannot edit standard input (press RETURN)
image

When pressing the v key.

I see, this makes sense, I just read the code now and can see now that it's just piping to the pager and not actually rending the text itself. Should have had a look before. Nevermind. Nice little program though!