Last active
December 31, 2020 11:37
-
-
Save nhuzaa/d1f73a55225a1071f450f6d98125e3d6 to your computer and use it in GitHub Desktop.
Vim plugins need not apply
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0f=20i<Space><Esc>020lvf=hx | |
0 goes to first column | |
f= finds next occurrence of = on current line | |
20i<Space><Esc> inserts 20 spaces before = | |
0 goes back to first column | |
20l forward 20 column | |
vf=hx deletes everything up to the = sign | |
class Products(models.Model): | |
prdname = models.CharField(max_length=100) | |
prdtype = models.CharField(max_length=20) | |
desc = models.CharField(max_length=300) | |
stock = models.IntegerField(default=0) | |
price = models.IntegerField(default=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment