On Sun, Oct 21, 2012 at 7:02 PM, Shay <[email protected]> wrote: > I don't know much about Windows. How can I make this work? > > autocmd FileType python map <buffer> <S-e> :w<CR>:!/usr/bin/env python3 % > <CR>
You can't make this "work" on Windows. (First see :help :!) :!cmd will execute cmd with the shell (in Windows or Linux).. (Next see :help :_%) '%' in an Ex command will be replaced by the filename of the current buffer The command being run, /usr/bin/env python3, will not work on Windows shell. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
