vim-pydjango icon indicating copy to clipboard operation
vim-pydjango copied to clipboard

F5 like idle

Open MortalCatalyst opened this issue 11 years ago • 3 comments

Is there a way to run a file like using F5 in idle?

MortalCatalyst avatar Dec 06 '12 07:12 MortalCatalyst

@flebber did you mean, when you press F5, it will save the current state and execute the edited file ?

yodiaditya avatar Dec 06 '12 09:12 yodiaditya

Yes definitely.

MortalCatalyst avatar Dec 06 '12 10:12 MortalCatalyst

The answer to this is

"Run File :set makeprg=python\ % :set autowrite

Plus have you considered adding virtualenv to your plugin?

MortalCatalyst avatar Jun 11 '13 11:06 MortalCatalyst