What is the key sequence for closing the current buffer in Emacs?

BKB has already given correct answer. Just wanted to add that C-h b lists the key bindings applicable in current buffer


Well, you can view the shortcut of any function with the Help command (C-h).

Press C-hw and then type the command name as you would in M-x mode.


For example (in your case):

  1. Press C-hw
  2. Type the name of the command: kill-buffer ( you can also use tab/space to autocomplete :) )
  3. Press RET

Hope that helps :)


You can use C-x k to kill current buffer. See Emacs Manual .

Tags:

Emacs