Close Doom Emac's scratch buffer

3 years ago by Aarkon to c/emacs

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.

GameWarrior 3 points 3 years ago

The default keybinding for killing a buffer should be SPC b k. That is what I use to close the scratch buffer. 

path: 0 409032, hotness: undefined, score: 3, children: 0
nomaded 2 points 3 years 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 !GameWarrior@lemmy.world 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.

path: 0 416256, hotness: undefined, score: 2, children: 0
bledley 2 points 3 years ago

I use Ctrl-w-c (it's on the same side of the keyboard) or space-b-k. I'm sure you could you set your own convienient shortcut, it's Emacs after all.

path: 0 544531, hotness: undefined, score: 2, children: 0
emacs
emacs

@lemmy.ml

login for more options
2974
339
46

Our infinitely powerful editor.

go to feed...