Monday, October 22, 2012

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

On Sunday, October 21, 2012 8:32:22 AM UTC-5, ShayAllen 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>
>

Incidentally, although others have pointed out your likely problem, I also note that "<S-e>" in a mapping, i.e. "shift + e", is the same as just "E".

Besides the clearer mapping if you drop the special key syntax, I find it odd that you would want to lose the E command, to jump to the end of a WORD.

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