0834名無しさん@お腹いっぱい。
2020/07/16(木) 13:40:53.89コマンド書くしかなさそうだね
function! s:Python3 (startline, endline)
execute 'python3' join(getline(a:startline, a:endline), "\n")
endfunction
command! -range Python3 call <SID>Python3(<line1>, <line2>)
:%Python3 でバッファ全体
もちろん範囲選択も可