mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.1-044
This commit is contained in:
@@ -8000,7 +8000,8 @@ ins_shift(c, lastc)
|
||||
/*
|
||||
* 0^D and ^^D: remove all indent.
|
||||
*/
|
||||
if ((lastc == '0' || lastc == '^') && curwin->w_cursor.col)
|
||||
if (c == Ctrl_D && (lastc == '0' || lastc == '^')
|
||||
&& curwin->w_cursor.col > 0)
|
||||
{
|
||||
--curwin->w_cursor.col;
|
||||
(void)del_char(FALSE); /* delete the '^' or '0' */
|
||||
|
Reference in New Issue
Block a user