I would like to make a new tab page from part of the current text.
I would use visual selection, or other means to specify a text range.
Is there a single command like "New tab from selection"?
Writing this, I see the command is not exactly of vim
style.
In that case, a small script may solve it.
Possibly there is a related plugin containing it?
Here, one could reasonably hope for useful related features like creating a new file with derived name.
<,>y
- for yank visual rangetabnew
- for creating new tabp
- for paste yanked text in first step