comparison runtime/doc/motion.txt @ 18475:709c6b0dc78f v8.1.2231

patch 8.1.2231: not easy to move to the middle of a text line Commit: https://github.com/vim/vim/commit/8b530c1ff91f07cf6b0289a536992b7dfbc86598 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 28 02:13:05 2019 +0100 patch 8.1.2231: not easy to move to the middle of a text line Problem: Not easy to move to the middle of a text line. Solution: Add the gM command. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/2070)
author Bram Moolenaar <Bram@vim.org>
date Mon, 28 Oct 2019 02:15:05 +0100
parents d23afa4d8b63
children 1cd44535be32
comparison
equal deleted inserted replaced
18474:95daf3963003 18475:709c6b0dc78f
1 *motion.txt* For Vim version 8.1. Last change: 2019 Jun 02 1 *motion.txt* For Vim version 8.1. Last change: 2019 Oct 28
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
224 character of the line is not on the screen. 224 character of the line is not on the screen.
225 225
226 *gm* 226 *gm*
227 gm Like "g0", but half a screenwidth to the right (or as 227 gm Like "g0", but half a screenwidth to the right (or as
228 much as possible). 228 much as possible).
229
230 *gm* *gM*
231 gM Like "g0", but to halfway the text of the line.
232 With a count: to this percentage of text in the line.
233 Thus "10gM" is near the start of the text and "90gM"
234 is near the end of the text.
229 235
230 *g$* *g<End>* 236 *g$* *g<End>*
231 g$ or g<End> When lines wrap ('wrap' on): To the last character of 237 g$ or g<End> When lines wrap ('wrap' on): To the last character of
232 the screen line and [count - 1] screen lines downward 238 the screen line and [count - 1] screen lines downward
233 |inclusive|. Differs from "$" when a line is wider 239 |inclusive|. Differs from "$" when a line is wider