[#6] vim crashes when i_CTRL-Y is used in a red-only file
Summary vim crashes when i_CTRL-Y is used in a red-only file
Queue Vim on VMS
Type Bug
State Accepted
Priority 1. Low
Owners
Requester sferencik (at) alpha (dot) polarhome (dot) com
Created 12/02/2010 (2490 days ago)
Due
Updated 12/02/2010 (2490 days ago)
Assigned
Resolved
Attachments

History
12/02/2010 Zoltan Arpadffy State ⇒ Accepted
 
12/02/2010 sferencik@alpha.polarhome.com Comment #1
State ⇒ Unconfirmed
Queue ⇒ Vim on VMS
Summary ⇒ vim crashes when i_CTRL-Y is used in a red-only file
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
when i_CTRL-Y is used in a read-only file (that is, Ctrl-Y is pressed 
in the insert mode), vim crashes.

Should be easily reproducible.

Create a r/o file with:
$ cre readonly.txt
$ set prot=(o:re) readonly.txt

Then type some text in vim and, still in the insert mode, press Ctrl-Y.

See also
:he i_CTRL-Y