How about using :w !{cmd} ? (This does not require you to save before run the command). :map <F4> :w !python<cr>. According to vim help :w_c :.
確定! 回上一頁