Mercurial > vim
comparison runtime/doc/quickref.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 | 03b854983b14 |
children | e9a47bcf7b94 |
comparison
equal
deleted
inserted
replaced
18474:95daf3963003 | 18475:709c6b0dc78f |
---|---|
45 |g^| g^ to first non-blank character in screen line (differs | 45 |g^| g^ to first non-blank character in screen line (differs |
46 from "^" when lines wrap) | 46 from "^" when lines wrap) |
47 |g$| N g$ to last character in screen line (differs from "$" | 47 |g$| N g$ to last character in screen line (differs from "$" |
48 when lines wrap) | 48 when lines wrap) |
49 |gm| gm to middle of the screen line | 49 |gm| gm to middle of the screen line |
50 |gM| gM to middle of the line | |
50 |bar| N | to column N (default: 1) | 51 |bar| N | to column N (default: 1) |
51 |f| N f{char} to the Nth occurrence of {char} to the right | 52 |f| N f{char} to the Nth occurrence of {char} to the right |
52 |F| N F{char} to the Nth occurrence of {char} to the left | 53 |F| N F{char} to the Nth occurrence of {char} to the left |
53 |t| N t{char} till before the Nth occurrence of {char} to the right | 54 |t| N t{char} till before the Nth occurrence of {char} to the right |
54 |T| N T{char} till before the Nth occurrence of {char} to the left | 55 |T| N T{char} till before the Nth occurrence of {char} to the left |