8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ESCを連打したときにclose-other-windowsされたくない

Last updated at Posted at 2013-11-07

Emacsで ESC (Escape)キーを連打してたらウィンドウがひとつになってしまって orz
そんなことってありますよね……?

あるんです ヾ(〃><)ノ゙☆

init.el
(global-set-key (kbd "M-ESC ESC") 'keyboard-quit)

.emacsファイルにこの一行を足してやれば良いですね。

  • M-ESC ESC は、ESC が三回押された状態のことです
  • keyboard-quitC-g したときに呼ばれるコマンドです

初出

8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?