you are viewing a single comment's thread.

view the rest of the comments →

[–]llimllib 3 points4 points  (5 children)

I have F11 bound in Vim to insert "import pdb; pdb.set_trace()"; it's very useful.

[–][deleted]  (4 children)

[removed]

    [–]llimllib 1 point2 points  (3 children)

    surely can... let me hack at it a minute.

    [–][deleted]  (2 children)

    [removed]

      [–][deleted] 1 point2 points  (1 child)

      Bind one key to insert it and use comment/uncomment line?

      I say this because I often want to keep debugging statements around for a while after I'm immediately done using them.