Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | doc + extmarks tweaks #11421 | Justin M. Keyes | 2019-11-25 |
| | | | | - nvim_buf_get_extmarks: rename "amount" => "limit" - rename `set_extmark_index_from_obj` | ||
* | cmdline: CTRL-R: Omit trailing <CR>. | Justin M. Keyes | 2017-02-18 |
| | | | | | | | | | | | | | | 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 the user can review it. The parent commit changed the behavior to insert <Space> between lines, but that's a higher-risk change: it is arguably possible that some user *wants* the literal ^M chars when e.g. assigning to a register: :let @a='<C-R>b' To avoid that risk, keep the old behavior and only omit the last ^M. This makes `yy:<C-R>0` nicer at no cost. | ||
* | cmdline: CTRL-R: <Space> instead of CR between lines. | Justin M. Keyes | 2017-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. |