SyntaxFix
Write A Post
Hire A Developer
Questions
I have this in my .vimrc file:
imap <F5> <Esc>:w<CR>:!clear;python %<CR>
When I'm done editing a Python script, I just press <F5>. The script is saved and then executed in a blank screen.
<F5>