Hacker News new | ask | show | jobs
by markenqualitaet 1719 days ago
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.
1 comments

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.

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.