3 ms·
duplicate function declaration or code chunk; comment out old and modify new; leave old inline until you're happy with new and verified existing functionality i
by w0m 7y ago
duplicate function declaration or code chunk; comment out old and modify new; leave old inline until you're happy with new and verified existing functionality isn't lost. Super useful working pattern I think that I use constantly. If it was more than `V p` Maybe i wouldn't work like that; but I do because it is so frictionless.
The more I use Git the more I've been committing/diffing for similar effect; but it's still much more overhead for smaller checks.
- wiredfool 7y agoI find git a much better use case for that sort of thing, especially since it's about as many keystrokes. If you've got a vim setup that works for you, great.