4 comments

[ 3.3 ms ] story [ 24.0 ms ] thread
> Writing heigth and then find out something is not working in your code can be very annoying. Well, no more. Now you have the tools (I mean the command) to fix that automatically.

Or you could learn how to type the word "height".

Sometimes it's nice to focus on what was meant and not get bogged down by the minutiae of execution.

e.g. ever thought up a great poem or witty retort, but by the time you got halfway through writing it down, --oops, let me correct that typo-- what was I doing? Eh, ah well, time to pick up groceries.

I've been working on timesheet and payroll code for years now and I assure you I've learned how to type the word "hours" but sometimes, somehow, 'Horus' ends up in my code. I think I could get away with auto replacing horus to hours in my .py and .[tj]sx? files
Incredible overview of Vim abbreviations, I kind of knew you could do things like this but seeing it in action was great. I've been wanting to try out Luasnip but I realize I can do a large amount of what it offers just with abbreviations!