You are not logged in.
Hello!
I've been occasionally playing around in Python on my Mac using TextMate, where I can execute the code by pressing Cmd+R. On my netbook I installed Geany, and I can run the code by pressing F5. Is it possible to achieve something similar in Vim?
I tried searching on Google but would only get results adhering to Windows or auto-completion.
Credit to KiwiesRuleXD @ DeviantArt for the avatar.
Offline
Offline
If I understand you correctly that you want to execute the current file, it's simple: just do
:!python %
:!something means to execute something, and % is replaced with the name of the current file.
Offline