mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.4a.022
Problem: Using "d2g$" does not delete the last character. (ZyX) Solution: Set the "inclusive" flag properly.
This commit is contained in:
@@ -4545,7 +4545,7 @@ nv_screengo(oap, dir, dist)
|
||||
int width2; /* test width for wrapped screen line */
|
||||
|
||||
oap->motion_type = MCHAR;
|
||||
oap->inclusive = FALSE;
|
||||
oap->inclusive = (curwin->w_curswant == MAXCOL);
|
||||
|
||||
col_off1 = curwin_col_off();
|
||||
col_off2 = col_off1 - curwin_col_off2();
|
||||
|
Reference in New Issue
Block a user