Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using TUI mode when file name is provided #535

Open
frederic-martin-doctolib opened this issue Sep 13, 2023 · 1 comment
Open

Using TUI mode when file name is provided #535

frederic-martin-doctolib opened this issue Sep 13, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@frederic-martin-doctolib

Hello,

Current situation:

Currently when I open a folder using glow my-folder it will list all markdown files in it. This allows me to pick one file and render it. Once the markdown is rendered, I can press 'e' to edit the file using Vim. When I write and quit from vim, I go back to the glow rendering state with the updates. This is very very nice.

Pain point:

When I open directly the file using glow my-folder/myfile.md, it just does the rendering part but i do not have the edit mode.

Maybe an extra option "-e", like it was done for the pager "-p", could do the trick to enable this new behavior.

WDYT ?

@frederic-martin-doctolib frederic-martin-doctolib added the enhancement New feature or request label Sep 13, 2023
@h0rv
Copy link

h0rv commented Dec 9, 2023

Hi I would like to work on this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants