3 ms·
Related -- for the last decade or so (neo)vim has been my primary editor, I'm probably an intermediate level user. I have never really delved into the undo tre
by n8henrie 4y ago
Related -- for the last decade or so (neo)vim has been my primary editor, I'm probably an intermediate level user.
I have never really delved into the undo tree. I use `:earlier` and `:later` sometimes, but usually just a lot of undo / redo.
Does anyone have a good intro article they would recommend on how to get started? Preferably plugin-free (often using vim on bare bones machines, pis, fresh machines with minimal / no config, etc.).
- pkkm 4y agoI think that the most comfortable way to use it is with an undo tree visualizer plugin. But if you want to only use the defaults, you have g- and g+ to traverse the undo history in chronological rather than logical order, :earlier and :later which do the same but take a time argument like 15m, and :undolist plus :undo n which take you to a specific node.