Hello! I am looking to speed up my Perl programming. At my Linux prompt I type vi filename.pl to begin editing my Perl file. Then I make whatever changes I need to make, and then when I'm done I type :wq which takes me back to my shell prompt. I type perl -Wall filename.pl, and then usually I want to re-edit my file because I got some errors, so I push the Up arrow on my keyboard to cycle through my history and the first thing I get is vi filename.pl, which I can enter in to take me back to Vim.
This process is repeated like a thousand times a day. My question is: Is this really as fast as it can possibly get? Is there any way to just compile and run the program from within Vim? Preferably with just one function-key keystroke?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |