]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.044
- updated to 7.1.100
[packages/vim.git] / 7.1.044
1 To: vim-dev@vim.org
2 Subject: patch 7.1.044
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.1.044
11 Problem:    In Insert mode 0 CTRL-T deletes all indent, it should add indent.
12             (Gautam Iyer)
13 Solution:   Check for CTRL-D typed.
14 Files:      src/edit.c
15
16
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
19 ***************
20 *** 8000,8006 ****
21       /*
22        * 0^D and ^^D: remove all indent.
23        */
24 !     if ((lastc == '0' || lastc == '^') && curwin->w_cursor.col)
25       {
26         --curwin->w_cursor.col;
27         (void)del_char(FALSE);          /* delete the '^' or '0' */
28 --- 8000,8007 ----
29       /*
30        * 0^D and ^^D: remove all indent.
31        */
32 !     if (c == Ctrl_D && (lastc == '0' || lastc == '^')
33 !                                                 && curwin->w_cursor.col > 0)
34       {
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
39 ***************
40 *** 668,669 ****
41 --- 668,671 ----
42   {   /* Add new patch number below this line */
43 + /**/
44 +     44,
45   /**/
46
47 -- 
48 hundred-and-one symptoms of being an internet addict:
49 54. You start tilting your head sideways to smile. :-)
50
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    ///
This page took 0.076424 seconds and 3 git commands to generate.