4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: In Insert mode 0 CTRL-T deletes all indent, it should add indent.
13 Solution: Check for CTRL-D typed.
17 *** ../vim-7.1.043/src/edit.c Thu Jun 28 12:44:56 2007
18 --- src/edit.c Wed Jul 25 22:50:28 2007
22 * 0^D and ^^D: remove all indent.
24 ! if ((lastc == '0' || lastc == '^') && curwin->w_cursor.col)
26 --curwin->w_cursor.col;
27 (void)del_char(FALSE); /* delete the '^' or '0' */
30 * 0^D and ^^D: remove all indent.
32 ! if (c == Ctrl_D && (lastc == '0' || lastc == '^')
33 ! && curwin->w_cursor.col > 0)
35 --curwin->w_cursor.col;
36 (void)del_char(FALSE); /* delete the '^' or '0' */
37 *** ../vim-7.1.043/src/version.c Sat Jul 28 14:21:04 2007
38 --- src/version.c Sun Jul 29 14:14:36 2007
42 { /* Add new patch number below this line */
48 hundred-and-one symptoms of being an internet addict:
49 54. You start tilting your head sideways to smile. :-)
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\ download, build and distribute -- http://www.A-A-P.org ///
54 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///