Sunday, October 21, 2012

Re: map ... :!/usr/bin/env python3 % in Windows?

Hi,

Remove the /usr/bin/env since there is no such program on Windows, and
add python3 to your Window system path. There are dozens of links at
google how to do that.

Best,
Marcin

On 06:32 Sun 21 Oct , Shay 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>
>
> Thank you.
>
>
>
> --
> View this message in context: http://vim.1045645.n5.nabble.com/map-usr-bin-env-python3-CR-in-Windows-tp5711375.html
> Sent from the Vim - General mailing list archive at Nabble.com.
>
> --
> 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

--
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

No comments: