2 points · by multiplied · 2y ago · 3 comments
function Newscratch() execute 'tabnew ' setlocal buftype=nofile setlocal bufhidden=hide setlocal noswapfile endfunction com! Ns call Newscratch()