There is long time since I wanted to type some vim plugin, but always I took a look in vim script codes think “oh boy, it’s so ugly script language” and so I lost my interest. Till days ago, when I figure out I could not only use just vim script language but also Python. Now, things becomes interesting.
As a product of my vim script plugin study I’ve decided to type two them. One is using a simple by pass that calls pep8 and check your current py script and you can fix and recheck it again just typing a command: [ESC]:PEP8. You can check its plugin here . The other I just finished it right now and allows you to in visual mode select a piece of code and send it to the osuosl pastebin. This one you can check here vimpastebin.
As you see bellow, after press F5 in vmode plugins sends the piece of code to pastebin and returns you a beautiful url in bottom.
Code is itself explained so I won’t write anything more detailed here about, just give a check there 🙂