this post was submitted on 21 Jun 2023
4 points (100.0% liked)

Emacs

1978 readers
1 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS
 

Hi!

I know that there is SPC x to open the scratch buffer, but is there also a similar shortcut to quickly close/hide it again? Of course I can always CTRL x 0, but that feels clunky.

you are viewing a single comment's thread
view the rest of the comments
[–] nomaded 2 points 1 year ago

If you choose SPC < to bring up the window that shows all open buffers, you can choose it and hit SPC b k (buffer, kill) as [email protected] suggested. You can also choose SPC b d (buffer, delete) which is the same as SPC b k, or just hit SPC b and look at the options available to you.