mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.228
Problem: "2gj" does not always move to the correct position. Solution: Get length of line after moving to a next line. (James Vega)
This commit is contained in:
@@ -4533,6 +4533,7 @@ nv_screengo(oap, dir, dist)
|
||||
}
|
||||
curwin->w_cursor.lnum++;
|
||||
curwin->w_curswant %= width2;
|
||||
linelen = linetabsize(ml_get_curline());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user