Re:Vim Anti-Patterns That Cause Beginners To:Quit
by markenqualitaet on Friday October 08, 2021 @10:53AM
(#28799988)
Personally I think, whatever ctrl-s is doing instead of saving, is the only really hostile default in vim. To a beginner it's the "mysteriously break vim for good" shortcut. And maybe the lack of ctrl-c/-v clipboard management. I hate pasting things into default vim.
[ Parent
| on HN ]
Re:Vim Anti-Patterns That Cause Beginners To:Quit
by justinsaccount on Friday October 08, 2021 @11:03AM
(#28800106)
That is not vim, ctrl-s/control-q turn on/off flow control. Very useful if you want to temporarily pause command output.
You can turn it off using `stty -ixon`, and this also wouldn't be a problem in a graphical vim, but vim would need to have a keybinding for it.
Re:Vim Anti-Patterns That Cause Beginners To:Quit
by markenqualitaet on Saturday October 09, 2021 @07:28AM
(#28808920)
Oh, yeah right. Thanks. I forgot the details there. This even goes to your e.g. .bashrc right?
Tho, couldn't vim overwrite this somehow?
In any case, this legacy feature is a major pain in the ass for beginners. Today ctrl-s/-c/-v and maybe ctrl-z have another meaning IMO and sticking to legacy is messing with heads unnecessarily. Pantheon terminal manages to e.g. make ctrl-c context dependent copy/cancel.