Re:Ten Years of Vim
by s_m_t on Sunday May 20, 2018 @07:24PM
(#17115271)
Very cool. Do you know if you can "mark" spaces in time to jump back to like you can spatially in vim? Sometimes I change a bunch of random stuff at once to try and get something to work, and perhaps this use case would be better suited to an actual git commit but I feel like a mark in time might be a good inbetween measure.
[ Parent
| on HN ]
The closest thing I'm aware of is ":earlier {N}f", which "[Goes] to older text state {N} file writes before.".
So once you're somewhat happy with what you've got, write the file, and then continue editing, repeat, and you can revert back to any previous saved file state.