I'm in a file and want to copy and edit part of the file content in a new tab temporarily.
I know that I can write it in a file using :'<,'> w /tmp/list.txt, then :tabnew /tmp/list.txt.
But what if I don't want to write a file and open it afterwards? Do you know a better and/or faster way?
:w <filename>, Then use:tabedit %? – Christian Brabandt Mar 31 '22 at 06:51