3 ms·
I feel confused and even suspicious when people tell, non-jokingly, that they couldn’t find a way to exit vim. Have they never used ^C in their terminal?
by Diti 9y ago
I feel confused and even suspicious when people tell, non-jokingly, that they couldn’t find a way to exit vim. Have they never used ^C in their terminal?
- rocqua 9y agoI feel confused at this comment, even suspicious. But did you know that ^C does not actually exit vim? :q!
- deleted 9y ago[deleted]
- tasuki 9y agoPressing ^C in normal mode tells you how to exit vim.
- andrewaylett 9y agoIt does _now_. One of the most important UX advances of recent years, IMO. Introduced in Vim 6.3, released in June 2004.
- brandonhsiao 9y ago>recent years >2004 :)
- jmaygarden 9y agoThat's way after I had to reset a terminal and log back in the first time that I tried to use vi.
- rocqua 9y agoFirst Time I saw that, I was like 'but typing doesn't work'. Then, I fumbled my way into insert mode and managed to type :q . It didn't do anything. VIM is hard for first time users.
- pedrocr 9y agoIt's possible he was actually trying to exit a non-vim vi that doesn't pop up a useful message explaining how to quit when you hit ^C.
- SubiculumCode 9y agoHe mentioned that this occurred very early in his career, perhaps as a child.
- randallsquared 9y agoHe named Red Hat 5, which had a lot fewer niceties than are default today.
- slrz 9y agoVim might do that but other implementations of vi don't. Instead, they flash the screen, ring the bell or print something to the effect of "interrupted".