4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: People who don't know how to exit Vim try pressing CTRL-C.
12 Solution: Give a message how to exit Vim when CTRL-C is pressed and it
13 doesn't cancel anything.
17 *** ../vim-6.2.177/src/normal.c Mon Dec 29 20:32:43 2003
18 --- src/normal.c Thu Jan 8 21:19:53 2004
27 + no_reason = (cap->oap->op_type == OP_NOP
28 + && cap->opcount == 0
30 + && cap->oap->regname == 0
33 if (cap->arg) /* TRUE for CTRL-C */
35 + if (restart_edit == 0
43 + msg(_("Type :quit<Enter> to exit Vim"));
53 ! if (cap->oap->op_type == OP_NOP
54 ! && cap->opcount == 0
56 ! && cap->oap->regname == 0
61 /* A CTRL-C is often used at the start of a menu. When 'insertmode' is
70 /* A CTRL-C is often used at the start of a menu. When 'insertmode' is
71 *** ../vim-6.2.177/src/version.c Fri Jan 9 15:10:05 2004
72 --- src/version.c Fri Jan 9 19:16:24 2004
76 { /* Add new patch number below this line */
82 hundred-and-one symptoms of being an internet addict:
83 214. Your MCI "Circle of Friends" are all Hayes-compatible.
85 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
86 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
87 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
88 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///