crash when pasting text into vim
Crash report
- iTerm2 version: 3.5.0beta11
- vim version: 9.0.1700 installed using Homebrew
- OS version: macOS Ventura 13.5
- Attach `iTerm2-2023-08-14-165328.ipscom.googlecode.iterm2.plist
Detailed steps to reproduce the problem
- Copy some text into the macOS clipboard, like
1234567890
- Run:
vim --noplugin -i NONE -u NONE -c 'set esckeys'
- Hit
i
to enter insert mode in vim - Press Command-V repeatedly (or hold it down) to paste repeatedly
The crash doesn't seem to happen when the esckeys
vim option is not set.
What happened
iTermApplication.m:871 (-[iTermApplication reportException:]): reportException: *** -[__NSCFString captureComponentsMatchedByRegex:]: The regular expression argument is NULL.
Edited by Matt Day