mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.2-095
This commit is contained in:
@@ -6783,6 +6783,8 @@ nv_replace(cap)
|
||||
/* Visual mode "r" */
|
||||
if (VIsual_active)
|
||||
{
|
||||
if (got_int)
|
||||
reset_VIsual();
|
||||
nv_operator(cap);
|
||||
return;
|
||||
}
|
||||
@@ -7839,7 +7841,7 @@ nv_g_cmd(cap)
|
||||
else
|
||||
i = curwin->w_leftcol;
|
||||
/* Go to the middle of the screen line. When 'number' is on and lines
|
||||
* are wrapping the middle can be more to the left.*/
|
||||
* are wrapping the middle can be more to the left. */
|
||||
if (cap->nchar == 'm')
|
||||
i += (W_WIDTH(curwin) - curwin_col_off()
|
||||
+ ((curwin->w_p_wrap && i > 0)
|
||||
|
Reference in New Issue
Block a user