Skip to content

Add Mod+Shift+N shortcut to create scratch buffer without name prompt - #473

Open
samermurad wants to merge 3 commits into
heyman:mainfrom
samermurad:feat/scratch-buffer-shortcut
Open

Add Mod+Shift+N shortcut to create scratch buffer without name prompt#473
samermurad wants to merge 3 commits into
heyman:mainfrom
samermurad:feat/scratch-buffer-shortcut

Conversation

@samermurad

Copy link
Copy Markdown

So instead of being lazy and waiting for the change, I created the feature myself:D, this closes #472

New Shortcut (MOD+SHIFT+N) quickly creates a new scratch file without promoting the name/location dialog UI, Helpful for when you just want to have a new file created without bothering about name/location.

Solution is pretty straightforward and actually pretty small, it just generates a Scratch ${n} name based on the length of current buffers.

It actually turned out to be a very small feature tbh:D
Screenshot 2026-04-15 at 13 50 28

New Shortcut quickly creates a new scratch file without promoting the name/location dialog UI,
Helpful for when you just want to have a new file created without bothering about name/location.

Solution is pretty straightforward and actually pretty small, it just generates a `Scratch ${n}` name based on the length of current buffers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Untitled buffers

1 participant