diff options
author | Matthew Malcomson <hardenedapple@gmail.com> | 2017-02-10 15:58:45 +0000 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-02-28 01:16:18 +0100 |
commit | 86c2adc07463e37a60801e8fd0572402a5d27262 (patch) | |
tree | ebf60508f1cf4eb1fbd68c941d907f6bfde10ef8 /scripts/gen_api_vimdoc.py | |
parent | 28a6d4393db0de56ade7e75d0029f6bbd8f2e9db (diff) | |
download | rneovim-86c2adc07463e37a60801e8fd0572402a5d27262.tar.gz rneovim-86c2adc07463e37a60801e8fd0572402a5d27262.tar.bz2 rneovim-86c2adc07463e37a60801e8fd0572402a5d27262.zip |
edit.c: CTRL-SPC: Insert previously-inserted text. #6090
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.
Diffstat (limited to 'scripts/gen_api_vimdoc.py')
0 files changed, 0 insertions, 0 deletions