On keystroke insert line of code in (mac)vim, for pdb

Viewed 2034

I'm looking for the way to insert a line of code with a keystroke like leaderp in Macvim

I want to insert the following line of code:

import pdb; pdb.set_trace()

Probably not an unheard of line of code in python land

4 Answers
Related