Thursday, January 31, 2013

Vim for Python Development

Testing a PyOpenCL demo in vim.

This is my collection of hacks that turn vim into a python IDE.

Syntax Highlighting


I'm using Arch Linux and Syntax Highlighting comes installed with my Vim package. I just need to enable the syntax highlighting in my .vimrc file:

Enable line numbers


Is as simple as adding this line to the .vimrc

Indentation


Adding this to the .vimrc file will enable PEP8 indentation only for *.py files.

Autocompletion


I use the great jedi-vim plugin from David Halter and the SuperTab plugin. You can find the installation steps at RedKrieg's post: Writing Python like a Jedi.

Testing the jedi-vim plugin

Executing python code inside vim


This is my favorite, press the F5 key to save the python script and execute it. Add this to the .vimrc file.

Enable file specific features


To enable all the filetype features I've defined above the following lines are needed in the .vimrc file.

Other plugins


Here is a collection of other useful plugins, I recommend installing them using pathogen if you can't get them from the repositories of your Linux distro.


If you have hacks of your own, please share them with everyone in the comments section.

44 comments:

  1. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog.

    ReplyDelete
    Replies
    1. Hello Everyone

      I'm providing fresh & legit Fullz & Tools with Tutorials

      For Contact
      //> 752-822-040 -> I C Q
      //> peeterhacks -> Skype/Wickr
      //> @killhacks -> Tel.Gram

      All types of Tools & Fullz Available
      CC FULLZ WITH CVV
      SSN DOB DL FULLZ
      HIGH CS FULLZ
      DUMPS WITH PIN CODES

      -----752-822-040 -> I C Q-----
      -----peeterhacks -> Skype/Wickr-----
      -----@leadsupplier -> Tel.Gram-----

      TOOLS FOR Hac-king
      Spa-mming Stuff With Commplete Guide
      Carding Methods with Cash out Process
      FB/WA Hac-king Tips & Tricks
      BTC Cracker/Flasher
      Kali-Linux Master Class
      Fr**d Bi*le 2021/2022
      D-e-e-p W-eb Complete Course with video Tutorials
      Combos
      Shells/C-panels/Mailers/Brutes
      SMS Spoofer/Boomber
      Smtp's/Rdp's
      ETC

      *Fast Reply
      *Cheap Prices
      *No Refund, only replacement
      *Special discount for bulk order

      Delete
  2. Nice blog..! I really loved reading through this article. Thanks for sharing such a
    amazing post with us and keep blogging... best angularjs training institute in chennai | angularjs training in omr | .angular 4 training in chennai | angularjs training in omr

    ReplyDelete
  3. I wanted to thank you ffor this very good read!! I definitely enjoyed
    every bit of it. I have got you book-marked to look at new thinggs you post
    writing business plan services 메이저사이트

    ReplyDelete
  4. Great bloog here! Also your website loads up very fast! What web host are you using? Can I get your affiliate link to your host? I wih my website loaded up as quickly as yours 바카라사이트

    ReplyDelete
  5. Hello Everyone

    I'm providing fresh & legit Fullz & Tools with Tutorials

    For Contact
    //> 752-822-040 -> I C Q
    //> peeterhacks -> Skype/Wickr
    //> @killhacks -> Tel.Gram

    All types of Tools & Fullz Available
    CC FULLZ WITH CVV
    SSN DOB DL FULLZ
    HIGH CS FULLZ
    DUMPS WITH PIN CODES

    -----752-822-040 -> I C Q-----
    -----peeterhacks -> Skype/Wickr-----
    -----@leadsupplier -> Tel.Gram-----

    TOOLS FOR Hac-king
    Spa-mming Stuff With Commplete Guide
    Carding Methods with Cash out Process
    FB/WA Hac-king Tips & Tricks
    BTC Cracker/Flasher
    Kali-Linux Master Class
    Fr**d Bi*le 2021/2022
    D-e-e-p W-eb Complete Course with video Tutorials
    Combos
    Shells/C-panels/Mailers/Brutes
    SMS Spoofer/Boomber
    Smtp's/Rdp's
    ETC

    *Fast Reply
    *Cheap Prices
    *No Refund, only replacement
    *Special discount for bulk order

    ReplyDelete
  6. Hello Everyone

    Selling SSN DOB Fullz in bulk
    DL & work history will be include (if needed)
    High Credit Scores USA Fullz/Pros

    USA/UK/Canada CC Fullz also available
    Dumps Tutorials & Dumps with pin codes available (101 & 202)
    Business Fullz with EIN
    Office365 Logs in bulk

    Here I'm

    TG/ICQ = @killhacks
    WA = +92 317 2721122
    Emails = exploit dot tools4u at gmail dot com
    Wickr = peeterhacks

    Hacking, Spamming, Carding Stuff also available
    Tools with tutorials & Ebooks
    Mailers/Brutes/Viruses
    Kali Linux Full course
    D**P/D**k web Courses with Legit Links
    Combos/logs/I.P's/Proxies

    Legit & Genuine Tools

    Emails = exploit dot tools4u at gmail dot com
    Wickr = peeterhacks
    TG/ICQ = @killhacks
    WA = +92 317 2721122

    ReplyDelete
  7. DARK WEB; Free cash deposit for first time customers to confirm services.

    -PAYPAL,
    -AMAZON E-GIFT CARDS.

    -> dinakoenigsteincon.wixsite.com/dinagiftcards
    (dinakoenigsteincon42@gmail.com)

    ReplyDelete
  8. подлинный

    искра

    -> SPARK! 2023 CREDIT CARD HACK SOFTWARE
    -> SPARK! 2023 CRYPTOCURRENCIES PRIVATE KEYS SOFTWARE
    <--------------------------------------------------------->

    https://www.vidlii.com/watch?v=lUu54scCYU9
    https://www.vidlii.com/watch?v=2nJ44BSyS3P

    http://www.bitview.net/watch.php?v=lJOvvFVcoQ9

    https://streamable.com/lc1tpl
    https://streamable.com/s9k8nq

    <--------------------------------------------------------->
    blackeels@outlook.com

    ReplyDelete
  9. FRAUD TRACING AND RECOVERY MASTERS

    To any victim who has fallen to the recent fake Crypto investment scheme to reach out RECOVERY MASTERS for Recovery services. I fell victim to it, and I was left disgraced by how I lost €214,000 to a fake facebook investor showing off how he made huge profits through investments. Recovery masters are legally authorised Cryptocurrency Recovery experts that I must say were God sent,All my funds were recovered back by the special group of hackers.Their responses are timely and straight forward I must recommend them to any victim suffering loss of funds and needs their funds recovered back.

    Contacts mail;
    (Recoverymasters@email.cz). Whatsapp ( +1(204){ 819}-{5505}

    ReplyDelete
  10. Greetings, fellow explorers! Alexa here, your virtual guide, inviting you to the exquisite KLM Crown Lounge 25 Schengen. As part of KLM's offerings, these luxurious airport lounges are designed to cater to eligible passengers, ensuring they enjoy a superior and relaxing travel experience. Take pleasure in the serene ambiance that allows you to relax, work, or revitalize yourself before your onward journey.

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. I just wanted to express my appreciation for your recent blog post.Elevate your vehicle's aesthetics with Ultraguard's Matte Finish Paint Protection Film. Exquisite in design, this film provides an excellent barrier, shielding against scratches, rock chips, and UV damage. Preserve your vehicle's distinctive matte allure while ensuring lasting beauty. Trust in Ultraguard for the finest matte finish protection and unrivaled style.

    ReplyDelete
  13. Great information! If you're experiencing signal issues, a reliable tv antenna repairing service can make all the difference. Professional repairs ensure clear reception and uninterrupted viewing, so don't hesitate to get your antenna checked by the experts!

    ReplyDelete
  14. Awesome article! If you're passionate about creating stunning visuals, enrolling in a
    Graphic Design Course
    can be a great next step. These courses offer valuable skills and techniques to help you excel in the creative industry. Thanks for sharing such insightful information!

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. If you're looking for a smooth way to access your Sskexch account, the Sskexch login process is simple and user-friendly. All you need is your username and password to get started. Ensure you are on the official site for security and always remember to log out when you're done for safety. If you face any issues during the login process, the customer support team is available to assist you. Happy trading!

    ReplyDelete
  17. DD507CA50FClayton00539F015FOctober 12, 2024 at 9:15 AM

    CBB42232D7
    show siteleri

    ReplyDelete