marktext / marktext/marktext

Deleting file using `Delete` key

Open
#3,148 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:unicorn: feature request 🔭 area/ui
Dominant language
TypeScript
Stars
61.6k
Forks
4.6k
Avg merge
23h 49m
Merged PRs (30d)
89

Description

Describe your feature request

When having a file selected in the filesystem view of marktext the behavior of hitting the Delete key should probably resolve in the file being deleted, maybe prompting the user with "are you sure you want to delete "file-name.md"

What problem does this feature solve? [optional]

Not a problem but makes deleting files a more convenient task.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the filesystem view and its existing file-deletion flow, then inspect how keyboard actions are handled. Done means pressing Delete with a file selected prompts for confirmation and deletes that file when confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.