I'm trying to replicate vims :tabnew functionality, which just creates a new empty tab (perspective). All the commands I've looked at prompts for confirmations and names etc. They clone the current tab and do not automatically switch.
Is there a command that will create a new (empty) tab, give it a default name (I'll name it later if I want) and switch to it?
switch-to-buffer-other-widndow
instead ofdisplay-buffer
. New buffers can be any major-mode you want. It must have a buffer-name, but it is not automatically saved as a file. We call this a non-file-visiting-buffer.tabbar-mode
, please update your question to further clarify the issue.