3 ms·
Triple click the line, then middle click somewhere. Or ctrl a ctrl k ctrl k ctrl y (move) ctrl y. Is it really something that’s so common that it needs a comm
by wiredfool 7y ago
Triple click the line, then middle click somewhere.
Or ctrl a ctrl k ctrl k ctrl y (move) ctrl y.
Is it really something that’s so common that it needs a command?
- w0m 7y agoduplicate 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.