Merge pull request #4234 from watiko/vim-7.4.977

vim-patch:7.4.{818,883,977}
This commit is contained in:
Justin M. Keyes
2016-02-17 04:10:50 -05:00
5 changed files with 88 additions and 33 deletions

View File

@@ -7783,7 +7783,7 @@ static void nv_open(cmdarg_T *cap)
n_opencmd(cap);
}
// calculate start/end virtual columns for operating in block mode
// Calculate start/end virtual columns for operating in block mode.
static void get_op_vcol(
oparg_T *oap,
colnr_T redo_VIsual_vcol,
@@ -7793,7 +7793,8 @@ static void get_op_vcol(
colnr_T start;
colnr_T end;
if (VIsual_mode != Ctrl_V) {
if (VIsual_mode != Ctrl_V
|| (!initial && oap->end.col < curwin->w_width)) {
return;
}