Vim: vim-pasta
Heyooo - Happy Taco Tuesday! I just ate a terrifying amount of tacos at our favo(u)rite local taco place. I feel pretty gross, but am not disgusted with myself enough to stop me from writing about a vim plugin named after pasta!
vim-pasta, recently featured on the changelog, is another one of these plugins that I have around but don’t even notice until I sit back and wonder why something just worked.
What is does: it rebinds p
and P
in vim so that they indent at the
correct level of indentation (even if you’re at the def
or function
line
of a method and hitting p
, something I do constantly) for your current
context.
Install it today and see how it fits into your workflow. Also, if you haven’t honored Taco Tuesday, you have a few hours left to meet your weekly commitment.