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

Option to create new stashed file #215

Open
shitchell opened this issue Dec 4, 2020 · 1 comment
Open

Option to create new stashed file #215

shitchell opened this issue Dec 4, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@shitchell
Copy link
Contributor

After #182 is implemented, it would be nice to have the option to create a new file from within glow. On the main page, when viewing stashed files, type 'n' to create and begin editing a new file that will be added to the user's stash.

Proposed flow

  1. At the main page, user types 'n'
  2. The cursor is moved to the top of the page
  3. A new entry is added to the list of stashed files
  4. The user is prompted to enter a memo for the new entry (just like editing the memo for a normal file)

Memo: New File
Just now

  1. After the user hits enter, a temporary file is created locally and opened with the editor
  2. Once the editor exits, the temporary file is stashed with the given memo and deleted locally

At present, I have to create a new file, edit it, stash it, and then delete it. This enhancement would make glow pretty much a standalone (ignoring the fact that you need an external editor) tool to access, edit, and create files across devices.

@meowgorithm meowgorithm added the enhancement New feature or request label Dec 4, 2020
@kjhughes097
Copy link

+1 for adding n to create a new file

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

3 participants