Skip to content

Comment on Learn Vim Progressivelyparent

Comments

What do you mean by "hard to undo?" Every Vim user has, more than once, accidentally begun typing in command mode and done crazy things. The solution is to just hit u (undo) a couple of times.

Granted, some commands have side-effects, (e.g. "w! existing.txt" which would overwrite an existing file), but they are sufficiently complex that the odds of typing one are extremely low. I have been using Vim on a daily basis for over a decade, and I cannot recall a single time that I've accidentally typed an irreversible command.

By that I mean more that, they go by so fast, often with out much visual confirmation of what just happened, that it's very easy for me to not know even how far back I have to undo. I don't know what I've just done! In a visual IDE, that's a non issue, there's a pretty clear visual cue for everything.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.