Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
単一のキーストロークで新しい空のバッファを作成するにはどうすればよいですか? C-x b名前を入力して新しいバッファを作成できます。(私は ido-mode を使用しているので、ヒットRETしただけで最新のバッファーが開きます。)
C-x b
RET
単一のキーバインディングで新しい無題のバッファを開くコマンドが欲しいs-tです。
s-t
( new-tabAquamacs のコマンドに似ています。)
new-tab
YoungFrog が指摘したように、新しいバッファを生成する方が簡単な場合があります (存在する場合は、番号が自動的に追加されます)。
(defun new-buffer () (interactive) (switch-to-buffer (generate-new-buffer "buffer")) ) (global-set-key (kbd "\s-t") 'new-buffer)