I am using this in my vimrc, to get output of current script printed on the screen when I click enter.
autocmd FileType python map <buffer> <CR> :w<CR>:!python3 %<CR>
How can I get it to open in a new buffer where I can edit the output?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community