Persistent scratch buffer #24231
Daeraxa
started this conversation in
From Emacs
Replies: 2 comments
-
Doom Emacs binds scratch buffer to I usually have an unversionned markdown file in each project. Like a personnal README. Having it per project is very useful before triggering an issue for every idea in each project. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is a neat idea and something worth keeping around as an idea/feature. We've decided to move feature requests to discussions so I'm going to move this there |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Check for existing issues
Is your feature request related to a problem?
Would be nice to have an auto-saving scratch buffer that persists across windows and sessions.
Zed starts with your standard 'untitled' buffer but this is only relevant to the current window and is lost on close unless manually saved.
The reasoning behind this is to have somewhere to jot down notes or keep snippets of data for re-use (not full snippet support, just a generic temporary storage).
Describe the solution you'd like
On a new window (or new pane) the scratch buffer is opened (as an optional alternative to the standard
untitled
buffer). Could also be manually opened in any existing pane.The buffer would save automatically and would persist over sessions and windows (i.e. if I have two Zed windows then the scratch is shared between them). It would remain 'pinned' to the top of the project list (if desired).
Not sure how Zed would detect the language used unless a setting is added to manually mark the language of current buffer.
If I wanted to be really fancy then it should be able to detect URLs and make them clickable.
If applicable, add mockups / screenshots to help present your vision of the feature
Beta Was this translation helpful? Give feedback.
All reactions