aboutsummaryrefslogtreecommitdiff
path: root/test/functional/insert/last_inserted_spec.lua
Commit message (Collapse)AuthorAge
* insert-mode: interpret unmapped META as ESCJustin M. Keyes2018-04-04
| | | | | | closes #2454 closes #8213 ref #7972
* edit.c: CTRL-SPC: Insert previously-inserted text. #6090Matthew Malcomson2017-02-28
Default Vim behavior of i_CTRL-<Space> is to insert the last-inserted text and exit insert mode. :help i_CTRL-@ Before this commit that did not happen because insert_handle_key() checks for NUL instead of checking for ' ' with a CTRL `mod_mask`. I'm leaving the check for NUL despite the fact that at the moment that key is never seen when using the terminal UI (not for C-Space, nor C-@). This is because I assume it's still allowed for other front-ends to pass NUL, but at the moment the terminal UI isn't.