aboutsummaryrefslogtreecommitdiff
path: root/test/functional/cmdline/history_spec.lua
Commit message (Collapse)AuthorAge
* cmdline: CTRL-R: <Space> instead of CR between lines.Justin M. Keyes2017-02-18
^M isn't any more "correct" than space: the "technically correct" interpretation is to execute the first line that is seen (and this is what happens on middle-click paste in Vim). ^M is only intended to defuse the newline, so that the user can review the command. We can do that with a space instead, and then the command can be executed without having to fix it up first.